Package io.quarkus.paths
Class EmptyPathTree
- java.lang.Object
-
- io.quarkus.paths.EmptyPathTree
-
- All Implemented Interfaces:
OpenPathTree,PathTree,Closeable,AutoCloseable
public class EmptyPathTree extends Object implements OpenPathTree
-
-
Constructor Summary
Constructors Constructor Description EmptyPathTree()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String relativePath, Consumer<PathVisit> func)<T> Tapply(String relativePath, Function<PathVisit,T> func)voidclose()booleancontains(String relativePath)static EmptyPathTreegetInstance()ManifestgetManifest()PathTreegetOriginalTree()PathgetPath(String relativePath)Collection<Path>getRoots()booleanisOpen()OpenPathTreeopen()voidwalk(PathVisitor visitor)
-
-
-
Method Detail
-
getInstance
public static EmptyPathTree getInstance()
-
getRoots
public Collection<Path> getRoots()
-
getManifest
public Manifest getManifest()
- Specified by:
getManifestin interfacePathTree
-
walk
public void walk(PathVisitor visitor)
-
getPath
public Path getPath(String relativePath)
- Specified by:
getPathin interfaceOpenPathTree
-
open
public OpenPathTree open()
-
isOpen
public boolean isOpen()
- Specified by:
isOpenin interfaceOpenPathTree
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getOriginalTree
public PathTree getOriginalTree()
- Specified by:
getOriginalTreein interfaceOpenPathTree
-
-