Class TDefaultFileSystemProvider
java.lang.Object
org.teavm.classlib.java.nio.file.spi.TFileSystemProvider
org.teavm.classlib.java.nio.file.impl.TDefaultFileSystemProvider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAccess(TPath path, TAccessMode... modes) voidcopy(TPath source, TPath target, TCopyOption... options) voidcreateDirectory(TPath dir, TFileAttribute<?>... attrs) voidgetFileSystem(TURI uri) booleanbooleanisSameFile(TPath path, TPath path2) voidmove(TPath source, TPath target, TCopyOption... options) newDirectoryStream(TPath dir, TDirectoryStream.Filter<? super TPath> filter) newFileSystem(TURI uri, Map<String, ?> env) newFileSystem(TPath path, Map<String, ?> env) newInputStream(TPath path, TOpenOption... options) newOutputStream(TPath path, TOpenOption... options) <A extends TBasicFileAttributes>
AreadAttributes(TPath path, Class<A> type, TLinkOption... options) Methods inherited from class org.teavm.classlib.java.nio.file.spi.TFileSystemProvider
deleteIfExists, exists, installedProviders, readAttributesIfExists, readSymbolicLink
-
Field Details
-
INSTANCE
-
-
Method Details
-
getScheme
- Specified by:
getSchemein classTFileSystemProvider
-
newFileSystem
- Specified by:
newFileSystemin classTFileSystemProvider- Throws:
IOException
-
getFileSystem
- Specified by:
getFileSystemin classTFileSystemProvider
-
getPath
- Specified by:
getPathin classTFileSystemProvider
-
newFileSystem
- Specified by:
newFileSystemin classTFileSystemProvider- Throws:
IOException
-
newInputStream
- Overrides:
newInputStreamin classTFileSystemProvider- Throws:
IOException
-
newOutputStream
- Overrides:
newOutputStreamin classTFileSystemProvider- Throws:
IOException
-
newDirectoryStream
public TDirectoryStream<TPath> newDirectoryStream(TPath dir, TDirectoryStream.Filter<? super TPath> filter) throws IOException - Specified by:
newDirectoryStreamin classTFileSystemProvider- Throws:
IOException
-
createDirectory
- Specified by:
createDirectoryin classTFileSystemProvider- Throws:
IOException
-
delete
- Specified by:
deletein classTFileSystemProvider- Throws:
IOException
-
copy
- Specified by:
copyin classTFileSystemProvider- Throws:
IOException
-
move
- Specified by:
movein classTFileSystemProvider- Throws:
IOException
-
isSameFile
- Specified by:
isSameFilein classTFileSystemProvider- Throws:
IOException
-
isHidden
- Specified by:
isHiddenin classTFileSystemProvider- Throws:
IOException
-
checkAccess
- Specified by:
checkAccessin classTFileSystemProvider- Throws:
IOException
-
readAttributes
public <A extends TBasicFileAttributes> A readAttributes(TPath path, Class<A> type, TLinkOption... options) throws IOException - Specified by:
readAttributesin classTFileSystemProvider- Throws:
IOException
-