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
-
Fields inherited from class io.quarkus.fs.util.base.DelegatingFileSystem
delegate
-
-
Constructor Summary
Constructors Constructor Description FileSystemWrapper(FileSystem delegate, FileSystemProvider fileSystemProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
FileSystemWrapper
public FileSystemWrapper(FileSystem delegate, FileSystemProvider fileSystemProvider)
- 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 Detail
-
provider
public FileSystemProvider provider()
- Overrides:
providerin classDelegatingFileSystem
-
-