Module io.quarkus.fs.util
Package io.quarkus.fs.util.sysfs
Class ConfigurableFileSystemProviderWrapper
java.lang.Object
java.nio.file.spi.FileSystemProvider
io.quarkus.fs.util.base.DelegatingFileSystemProvider
io.quarkus.fs.util.sysfs.ConfigurableFileSystemProviderWrapper
Configurable File System Provider, which delegates all tasks to a delegate FSP, except for access mode checks.
-
Field Summary
Fields inherited from class io.quarkus.fs.util.base.DelegatingFileSystemProvider
delegate -
Constructor Summary
ConstructorsConstructorDescriptionConfigurableFileSystemProviderWrapper(FileSystemProvider delegate, Set<AccessMode> allowedAccessModes) -
Method Summary
Methods inherited from class io.quarkus.fs.util.base.DelegatingFileSystemProvider
copy, createDirectory, createLink, createSymbolicLink, delete, deleteIfExists, equals, getFileAttributeView, getFileStore, getFileSystem, getPath, getScheme, hashCode, isHidden, isSameFile, move, newAsynchronousFileChannel, newByteChannel, newDirectoryStream, newFileChannel, newFileSystem, newFileSystem, newInputStream, newOutputStream, readAttributes, readAttributes, readSymbolicLink, setAttributeMethods inherited from class java.nio.file.spi.FileSystemProvider
installedProviders
-
Constructor Details
-
ConfigurableFileSystemProviderWrapper
public ConfigurableFileSystemProviderWrapper(FileSystemProvider delegate, Set<AccessMode> allowedAccessModes) - Parameters:
delegate- the FileSystemProvider to delegate to. May not be nullallowedAccessModes- The access modes which should be allowed by default. They given path won't be checked for these. May be null.
-
-
Method Details
-
checkAccess
- Overrides:
checkAccessin classDelegatingFileSystemProvider- Throws:
IOException
-