Package io.quarkus.paths
Class FilteredPathTree
java.lang.Object
io.quarkus.paths.FilteredPathTree
- All Implemented Interfaces:
PathTree
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConsumes a given path relative to the root of the tree.voidConsumes a given path relative to the root of the tree.<T> TApplies a function to a given path relative to the root of the tree.booleanChecks whether the tree contains a relative path.IfMETA-INF/MANIFEST.MFfound, reads it and returns an instance ofManifest, otherwise returns null.getRoots()The roots of the path tree.open()Returns anOpenPathTreefor this tree, which is supposed to be closed at the end of processing.voidwalk(PathVisitor visitor) Walks the tree.
-
Field Details
-
filter
-
-
Constructor Details
-
FilteredPathTree
-
-
Method Details
-
getRoots
Description copied from interface:PathTreeThe roots of the path tree. -
getManifest
Description copied from interface:PathTreeIfMETA-INF/MANIFEST.MFfound, reads it and returns an instance ofManifest, otherwise returns null.- Specified by:
getManifestin interfacePathTree- Returns:
- parsed
META-INF/MANIFEST.MFif it's found, otherwisenull
-
walk
Description copied from interface:PathTreeWalks the tree. -
apply
Description copied from interface:PathTreeApplies a function to a given path relative to the root of the tree. If the path isn't found in the tree, thePathVisitargument passed to the function will benull. -
accept
Description copied from interface:PathTreeConsumes a given path relative to the root of the tree. If the path isn't found in the tree, thePathVisitargument passed to the consumer will benull. -
acceptAll
Description copied from interface:PathTreeConsumes a given path relative to the root of the tree. If the path isn't found in the tree, thePathVisitargument passed to the consumer will benull. If multiple items match then the consumer will be called multiple times. -
contains
Description copied from interface:PathTreeChecks whether the tree contains a relative path. -
open
Description copied from interface:PathTreeReturns anOpenPathTreefor this tree, which is supposed to be closed at the end of processing. It is meant to be an optimization when processing multiple paths of path trees that represent archives. If a path tree does not represent an archive but a directory, for example, this method is expected to be a no-op, returning the original tree as an instance ofOpenPathTree.- Specified by:
openin interfacePathTree- Returns:
- an instance of
OpenPathTreefor this path tree
-