public abstract class JarScanner extends PatternMatcher
| Constructor | Description |
|---|---|
JarScanner() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
matched(java.net.URI uri) |
|
abstract void |
processEntry(java.net.URI jarUri,
java.util.jar.JarEntry entry) |
|
void |
scan(java.util.regex.Pattern pattern,
java.lang.ClassLoader loader,
boolean isNullInclusive,
boolean visitParent) |
Find jar names from the classloader matching a pattern.
|
void |
scan(java.util.regex.Pattern pattern,
java.net.URI[] uris,
boolean isNullInclusive) |
Find jar names from the provided list matching a pattern.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatch, matchPatternspublic abstract void processEntry(java.net.URI jarUri,
java.util.jar.JarEntry entry)
public void scan(java.util.regex.Pattern pattern,
java.net.URI[] uris,
boolean isNullInclusive)
throws java.lang.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 matchjava.lang.Exception - if unable to scanpublic void scan(java.util.regex.Pattern pattern,
java.lang.ClassLoader loader,
boolean isNullInclusive,
boolean visitParent)
throws java.lang.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 toojava.lang.Exception - if unable to scanpublic void matched(java.net.URI uri)
throws java.lang.Exception
matched in class PatternMatcherjava.lang.ExceptionCopyright © 1995–2017 Webtide. All rights reserved.