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, matchPatterns
public void scan(Pattern pattern, URI[] uris, boolean isNullInclusive) throws Exception
pattern
- uris
- isNullInclusive
- if true, an empty pattern means all names match, if false, none matchException
public void scan(Pattern pattern, ClassLoader loader, boolean isNullInclusive, boolean visitParent) throws Exception
pattern
- loader
- isNullInclusive
- visitParent
- Exception
public void matched(URI uri) throws Exception
matched
in class PatternMatcher
Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.