public abstract class JarScanner extends PatternMatcher
| Constructor and Description |
|---|
JarScanner() |
| Modifier and Type | Method and Description |
|---|---|
void |
matched(URI uri) |
abstract void |
processEntry(URI jarUri,
JarEntry entry) |
void |
scan(Pattern pattern,
ClassLoader loader,
boolean isNullInclusive,
boolean visitParent)
Find jar names from the classloader matching a pattern.
|
void |
scan(Pattern pattern,
URI[] uris,
boolean isNullInclusive)
Find jar names from the provided list matching a pattern.
|
match, matchPatternspublic void scan(Pattern pattern, URI[] uris, boolean isNullInclusive) throws Exception
pattern - the pattern to use for jar matchinguris - the uris of the jars to scanisNullInclusive - if true, an empty pattern means all names match, if false, none matchException - if unable to scanpublic void scan(Pattern pattern, ClassLoader loader, boolean isNullInclusive, boolean visitParent) throws Exception
pattern - the pattern to use for jar matchingloader - the class loader to look for jars inisNullInclusive - if true, an empty pattern means all names match, if false, none matchvisitParent - if true, visit parent classloaders tooException - if unable to scanpublic void matched(URI uri) throws Exception
matched in class PatternMatcherExceptionCopyright © 1995-2016 Webtide. All Rights Reserved.