@Deprecated public abstract class JarScanner extends PatternMatcher
Constructor and Description |
---|
JarScanner()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
matched(java.net.URI uri)
Deprecated.
|
abstract void |
processEntry(java.net.URI jarUri,
java.util.jar.JarEntry entry)
Deprecated.
|
void |
scan(java.util.regex.Pattern pattern,
java.lang.ClassLoader loader,
boolean isNullInclusive,
boolean visitParent)
Deprecated.
Find jar names from the classloader matching a pattern.
|
void |
scan(java.util.regex.Pattern pattern,
java.net.URI[] uris,
boolean isNullInclusive)
Deprecated.
Find jar names from the provided list matching a pattern.
|
match, matchPatterns
public 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 PatternMatcher
java.lang.Exception
Copyright © 1995–2023 Webtide. All rights reserved.