Package io.quarkus.paths
Class DirectoryPathTree
java.lang.Object
io.quarkus.paths.PathTreeWithManifest
io.quarkus.paths.OpenContainerPathTree
io.quarkus.paths.DirectoryPathTree
- All Implemented Interfaces:
OpenPathTree,PathTree,Closeable,Serializable,AutoCloseable
- See Also:
-
Field Summary
Fields inherited from class io.quarkus.paths.OpenContainerPathTree
pathFilterFields inherited from class io.quarkus.paths.PathTreeWithManifest
JAVA_VERSION, manifestEnabled, manifestInitialized, multiReleaseMapping -
Constructor Summary
ConstructorsModifierConstructorDescriptionFor deserializationDirectoryPathTree(Path dir) DirectoryPathTree(Path dir, PathFilter pathFilter) DirectoryPathTree(Path dir, PathFilter pathFilter, boolean manifestEnabled) protectedDirectoryPathTree(Path dir, PathFilter pathFilter, PathTreeWithManifest pathTreeWithManifest) -
Method Summary
Methods inherited from class io.quarkus.paths.OpenContainerPathTree
accept, apply, contains, equals, getPath, getRoots, hashCode, open, walk, walkIfContainsMethods inherited from class io.quarkus.paths.PathTreeWithManifest
apply, getManifestAttributes, getMultiReleaseMapping, initManifest, initMultiReleaseMapping, isMultiReleaseJar, manifestReadLock, manifestWriteLock, toMultiReleaseRelativePath
-
Constructor Details
-
DirectoryPathTree
public DirectoryPathTree()For deserialization -
DirectoryPathTree
-
DirectoryPathTree
-
DirectoryPathTree
-
DirectoryPathTree
protected DirectoryPathTree(Path dir, PathFilter pathFilter, PathTreeWithManifest pathTreeWithManifest)
-
-
Method Details
-
getRootPath
Description copied from class:OpenContainerPathTreeThis is the path to the container.In the case of a zip archive, it's the path to the root of the archive (i.e. a ZipPath). In the case of a directory, it's the directory.
Should be used for any read operation on the container.
- Specified by:
getRootPathin classOpenContainerPathTree
-
getContainerPath
Description copied from class:OpenContainerPathTreeThis is the path to the container.In the case of a zip archive, it's the path of the archive. In the case of a directory, it's the directory.
Should only be used for equals/hashCode.
- Specified by:
getContainerPathin classOpenContainerPathTree
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceOpenPathTree
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getOriginalTree
- Specified by:
getOriginalTreein interfaceOpenPathTree
-