Class ClassResourceVisitor
- java.lang.Object
-
- org.apache.sling.testing.teleporter.client.ClassResourceVisitor
-
public class ClassResourceVisitor extends Object
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
Constructors Constructor Description ClassResourceVisitor(Class<?> clazz, String path)
Visit the resources provided by clazz's ClassLoader, based on the supplied path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(org.apache.sling.testing.teleporter.client.ClassResourceVisitor.Processor p)
-
-
-
Method Detail
-
visit
public void visit(org.apache.sling.testing.teleporter.client.ClassResourceVisitor.Processor p) throws IOException
- Throws:
IOException
-
-