Package io.quarkus.fs.util.sysfs
Class FileSystemWrapper
java.lang.Object
java.nio.file.FileSystem
io.quarkus.fs.util.base.DelegatingFileSystem
io.quarkus.fs.util.sysfs.FileSystemWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
public class FileSystemWrapper extends DelegatingFileSystem
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FileSystemWrapper(FileSystem delegate, FileSystemProvider fileSystemProvider) -
Method Summary
Modifier and Type Method Description FileSystemProviderprovider()Methods inherited from class io.quarkus.fs.util.base.DelegatingFileSystem
close, equals, getFileStores, getPath, getPathMatcher, getRootDirectories, getSeparator, getUserPrincipalLookupService, hashCode, isOpen, isReadOnly, newWatchService, supportedFileAttributeViews, toString
-
Constructor Details
-
FileSystemWrapper
- Parameters:
delegate- the FileSystem to delegate to. May not be null.fileSystemProvider- any calls toprovider()will return this provider instead of the delegates ones. May not be null.
-
-
Method Details
-
provider
- Overrides:
providerin classDelegatingFileSystem
-