Package io.quarkus.fs.util.base
Class DelegatingFileSystem
java.lang.Object
java.nio.file.FileSystem
io.quarkus.fs.util.base.DelegatingFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
FileSystemWrapper
public abstract class DelegatingFileSystem extends FileSystem
Base Implementation of a FileSystem delegating most operations to another FileSystem.
-
Field Summary
Fields Modifier and Type Field Description protected FileSystemdelegate -
Constructor Summary
Constructors Constructor Description DelegatingFileSystem(FileSystem delegate) -
Method Summary
Modifier and Type Method Description voidclose()booleanequals(Object o)Iterable<FileStore>getFileStores()PathgetPath(String first, String... more)PathMatchergetPathMatcher(String syntaxAndPattern)Iterable<Path>getRootDirectories()StringgetSeparator()UserPrincipalLookupServicegetUserPrincipalLookupService()inthashCode()booleanisOpen()booleanisReadOnly()WatchServicenewWatchService()FileSystemProviderprovider()Set<String>supportedFileAttributeViews()StringtoString()
-
Field Details
-
Constructor Details
-
DelegatingFileSystem
- Parameters:
delegate- the FileSystem to delegate to. May not be null.
-
-
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
-
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
-
toString
-
equals
-
hashCode
public int hashCode()
-