The ResourceVisitor and ResourceContext Interfaces
Example 9.13. The ResourceVisitor and ResourceContext Interfaces public interface ResourceVisitor { ResourceFilter getFilter(); void visit(ResourceContext resource); } public interface ResourceContext { URL getUrl(); ClassLoader getClassLoader(); String getResourceName(); String getClassName(); boolean isClass(); Class loadClass(); InputStream getInputStream() throws IOException; byte[] getBytes() throws IOException; }