Class ClassResourceVisitor
java.lang.Object
org.apache.sling.testing.teleporter.client.ClassResourceVisitor
Finds and visits resources provided by ClassLoaders based
on their path. If a path points to a folder, its child
resources are also visited. Currently works for the "file:"
and "jar:" resource protocols.
-
Constructor Summary
ConstructorsConstructorDescriptionClassResourceVisitor
(Class<?> clazz, String path) Visit the resources provided by clazz's ClassLoader, based on the supplied path. -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(org.apache.sling.testing.teleporter.client.ClassResourceVisitor.Processor p)
-
Constructor Details
-
ClassResourceVisitor
Visit the resources provided by clazz's ClassLoader, based on the supplied path.- Parameters:
clazz
-path
- If that points to a folder, it is visited recursively
-
-
Method Details
-
visit
public void visit(org.apache.sling.testing.teleporter.client.ClassResourceVisitor.Processor p) throws IOException - Throws:
IOException
-