public interface ResourceScanListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceScanListener.InterestAction |
static class |
ResourceScanListener.InterestingResource
Holds a reference to the URL and the directory (if it exists).
|
static class |
ResourceScanListener.ScanAction |
static class |
ResourceScanListener.ScanResource |
| Modifier and Type | Method and Description |
|---|---|
void |
deliver(ResourceScanListener.ScanResource desire,
InputStream inputStream)
Provides the requested resource.
|
ResourceScanListener.InterestAction |
isInteresting(ResourceScanListener.InterestingResource interestingResource)
If true, this is an interesting jar, please tell me about the entries in it.
|
List<ResourceScanListener.ScanResource> |
resource(List<ResourceScanListener.ScanResource> scanResources) |
void |
scanAction(ResourceScanListener.ScanAction action) |
List<ResourceScanListener.ScanResource> resource(List<ResourceScanListener.ScanResource> scanResources) throws Exception
Exceptionvoid deliver(ResourceScanListener.ScanResource desire, InputStream inputStream)
desire - - the info on the resource wantedinputStream - - the input stream from the jar fileResourceScanListener.InterestAction isInteresting(ResourceScanListener.InterestingResource interestingResource)
interestingResource - each entry in the classpath gets checked for thisvoid scanAction(ResourceScanListener.ScanAction action)
Copyright © 2014. All Rights Reserved.