Class FileSystemWrapperBase
java.lang.Object
java.nio.file.FileSystem
org.aksw.commons.path.nio.FileSystemWrapperBase
- All Implemented Interfaces:
Closeable, AutoCloseable
- Direct Known Subclasses:
FileSystemWrapper
Base class for wrappers of file systems.
Implementations need to implement
getDelegate().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected abstract FileSystemgetPathMatcher(String syntaxAndPattern) booleanisOpen()booleanprovider()static Path
-
Constructor Details
-
FileSystemWrapperBase
public FileSystemWrapperBase()
-
-
Method Details
-
getDelegate
-
wrap
-
unwrap
-
unwrap
-
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
-
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
-