Package com.sshtools.common.files.nio
Class AbstractFileNIOFileSystem
java.lang.Object
java.nio.file.FileSystem
com.sshtools.common.files.nio.AbstractFileNIOFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractFileNIOFileSystem(SshConnection con, URI uri, AbstractFileNIOProvider provider) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()getPathMatcher(String syntaxAndPattern) booleanisOpen()booleaniterator(Path path, DirectoryStream.Filter<? super Path> filter) provider()
-
Constructor Details
-
AbstractFileNIOFileSystem
-
-
Method Details
-
provider
- Specified by:
providerin classFileSystem
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classFileSystem- Throws:
IOException
-
isOpen
public boolean isOpen()- Specified by:
isOpenin classFileSystem
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classFileSystem
-
getSeparator
- Specified by:
getSeparatorin classFileSystem
-
getRootDirectories
- Specified by:
getRootDirectoriesin classFileSystem
-
getFileStores
- Specified by:
getFileStoresin classFileSystem
-
iterator
public Iterator<Path> iterator(Path path, DirectoryStream.Filter<? super Path> filter) throws IOException - Throws:
IOException
-
supportedFileAttributeViews
- Specified by:
supportedFileAttributeViewsin classFileSystem
-
getPath
- Specified by:
getPathin classFileSystem
-
getPathMatcher
- Specified by:
getPathMatcherin classFileSystem
-
getUserPrincipalLookupService
- Specified by:
getUserPrincipalLookupServicein classFileSystem
-
newWatchService
- Specified by:
newWatchServicein classFileSystem- Throws:
IOException
-
assertOpen
public void assertOpen() -
getRootPath
-
getConnection
-