Class TFileSystemProvider
java.lang.Object
org.teavm.classlib.java.nio.file.spi.TFileSystemProvider
- Direct Known Subclasses:
TDefaultFileSystemProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidcheckAccess(TPath path, TAccessMode... modes) abstract voidcopy(TPath source, TPath target, TCopyOption... options) abstract voidcreateDirectory(TPath dir, TFileAttribute<?>... attrs) abstract voidbooleandeleteIfExists(TPath path) booleanexists(TPath path, TLinkOption... options) abstract TFileSystemgetFileSystem(TURI uri) abstract TPathabstract Stringstatic List<TFileSystemProvider> abstract booleanabstract booleanisSameFile(TPath path, TPath path2) abstract voidmove(TPath source, TPath target, TCopyOption... options) abstract TDirectoryStream<TPath> newDirectoryStream(TPath dir, TDirectoryStream.Filter<? super TPath> filter) abstract TFileSystemnewFileSystem(TURI uri, Map<String, ?> env) abstract TFileSystemnewFileSystem(TPath path, Map<String, ?> env) newInputStream(TPath path, TOpenOption... options) newOutputStream(TPath path, TOpenOption... options) abstract <A extends TBasicFileAttributes>
AreadAttributes(TPath path, Class<A> type, TLinkOption... options) <A extends TBasicFileAttributes>
AreadAttributesIfExists(TPath path, Class<A> type, TLinkOption... options) readSymbolicLink(TPath link)
-
Constructor Details
-
TFileSystemProvider
protected TFileSystemProvider()
-
-
Method Details
-
getScheme
-
newFileSystem
- Throws:
IOException
-
getFileSystem
-
getPath
-
newFileSystem
- Throws:
IOException
-
newInputStream
- Throws:
IOException
-
newOutputStream
- Throws:
IOException
-
newDirectoryStream
public abstract TDirectoryStream<TPath> newDirectoryStream(TPath dir, TDirectoryStream.Filter<? super TPath> filter) throws IOException - Throws:
IOException
-
createDirectory
- Throws:
IOException
-
delete
- Throws:
IOException
-
deleteIfExists
- Throws:
IOException
-
readSymbolicLink
- Throws:
IOException
-
copy
- Throws:
IOException
-
move
- Throws:
IOException
-
isSameFile
- Throws:
IOException
-
isHidden
- Throws:
IOException
-
checkAccess
- Throws:
IOException
-
readAttributes
public abstract <A extends TBasicFileAttributes> A readAttributes(TPath path, Class<A> type, TLinkOption... options) throws IOException - Throws:
IOException
-
exists
-
readAttributesIfExists
public <A extends TBasicFileAttributes> A readAttributesIfExists(TPath path, Class<A> type, TLinkOption... options) throws IOException - Throws:
IOException
-
installedProviders
-