public interface ResourceVisitor
Modifier and Type | Method and Description |
---|---|
boolean |
visitPackage(String classpath)
This method is invoked for each traversed package.
|
void |
visitResource(String classpath)
This method is invoked for each resource.
|
boolean visitPackage(String classpath)
classpath
- is the absolute classpath of the traversed package (e.g. "net/sf/mmm/util/reflect").true
if the package should be traversed recursively, false
if the
package and all its content (including sub-packages) should be skipped.void visitResource(String classpath)
classpath
- is the absolute classpath of the resource (e.g.
"net/sf/mmm/util/reflect/api/ReflectionUtil.class" or
"net/sf/mmm/util/reflect/beans-reflect.xml").Copyright © 2001–2014 mmm-Team. All rights reserved.