Package io.quarkus.fs.util.sysfs
Class PathWrapper
- java.lang.Object
-
- io.quarkus.fs.util.base.DelegatingPath
-
- io.quarkus.fs.util.sysfs.PathWrapper
-
public class PathWrapper extends DelegatingPath
-
-
Field Summary
-
Fields inherited from class io.quarkus.fs.util.base.DelegatingPath
delegate
-
-
Constructor Summary
Constructors Constructor Description PathWrapper(Path delegate, FileSystem fileSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemgetFileSystem()-
Methods inherited from class io.quarkus.fs.util.base.DelegatingPath
compareTo, endsWith, endsWith, equals, forEach, getDelegate, getFileName, getName, getNameCount, getParent, getRoot, hashCode, isAbsolute, iterator, normalize, register, register, relativize, resolve, resolve, resolveSibling, resolveSibling, spliterator, startsWith, startsWith, subpath, toAbsolutePath, toFile, toRealPath, toString, toUri, unwrap
-
-
-
-
Constructor Detail
-
PathWrapper
public PathWrapper(Path delegate, FileSystem fileSystem)
- Parameters:
delegate- the Path to delegate to. May not be null.fileSystem- any calls togetFileSystem()()} will return this fileSystem instead of the delegates ones. May not be null.
-
-
Method Detail
-
getFileSystem
public FileSystem getFileSystem()
- Specified by:
getFileSystemin interfacePath- Overrides:
getFileSystemin classDelegatingPath
-
-