Package io.quarkus.paths
Interface PathTree
-
- All Known Subinterfaces:
OpenPathTree
- All Known Implementing Classes:
ArchivePathTree,CachingPathTree,DirectoryPathTree,EmptyPathTree,MultiRootPathTree,PathTreeWithManifest
public interface PathTree
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(String relativePath, Consumer<PathVisit> consumer)<T> Tapply(String relativePath, Function<PathVisit,T> func)booleancontains(String relativePath)ManifestgetManifest()Collection<Path>getRoots()default booleanisEmpty()static PathTreeofArchive(Path archive)static PathTreeofDirectoryOrArchive(Path p)static PathTreeofDirectoryOrFile(Path p)OpenPathTreeopen()voidwalk(PathVisitor visitor)
-
-
-
Method Detail
-
getRoots
Collection<Path> getRoots()
-
isEmpty
default boolean isEmpty()
-
getManifest
Manifest getManifest()
-
walk
void walk(PathVisitor visitor)
-
contains
boolean contains(String relativePath)
-
open
OpenPathTree open()
-
-