public interface ResourceProcessor
ResourceFinder.| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String name)
Accept a scanned resource.
|
void |
process(java.lang.String name,
java.io.InputStream in)
Process a scanned resource.
|
boolean accept(java.lang.String name)
name - the resource name.void process(java.lang.String name,
java.io.InputStream in)
throws java.io.IOException
This method will be invoked after the listener has accepted the resource.
name - the resource name.in - the input stream of the resourcejava.io.IOException - if an error occurs when processing the resource.