Class ReadOnlyFileSystem
java.lang.Object
java.nio.file.FileSystem
com.norconex.crawler.fs.fetch.impl.ReadOnlyFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable
Shared behavior for read-only NIO.2 file systems backed by remote
storage/providers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract PathcreatePath(String path) getPathMatcher(String syntaxAndPattern) booleanisOpen()booleanprotected final booleanMethods inherited from class java.nio.file.FileSystem
close, provider
-
Constructor Details
-
ReadOnlyFileSystem
-
-
Method Details
-
markClosed
protected final boolean markClosed() -
createPath
-
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
-
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
-