public class NewLoaderLogic
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NewLoaderLogic.OptimizedExclusionFilter |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADDITIONAL_EXCLUDES |
static java.lang.String |
ADDITIONAL_INCLUDE |
static java.lang.String |
DEFAULT_EXCLUSIONS_ALIAS |
static java.lang.String |
EXCLUSION_FILE |
Constructor and Description |
---|
NewLoaderLogic() |
Modifier and Type | Method and Description |
---|---|
static void |
_loadFromClasspath(FileUtils base,
java.util.List<java.net.URL> jarList,
java.lang.ClassLoader classLoader) |
static void |
addAdditionalCustomFilter(Filter excluded,
Filter included) |
static UrlSet |
applyBuiltinExcludes(UrlSet urlSet) |
static UrlSet |
applyBuiltinExcludes(UrlSet urlSet,
Filter includeFilter) |
static UrlSet |
applyBuiltinExcludes(UrlSet urlSet,
Filter includeFilter,
Filter excludeFilter) |
static java.util.Set<java.lang.String> |
callers() |
static java.util.Set<java.lang.String> |
callers(Filter start) |
static UrlSet |
filterArchives(Filter filter,
java.lang.ClassLoader classLoader,
UrlSet urlSet) |
static java.lang.String[] |
getExclusions() |
static Filter |
getFilter() |
static java.lang.String[] |
readInputStreamList(java.io.InputStream is) |
static java.lang.String |
sanitize(java.lang.String value) |
static void |
setExclusions(java.lang.String[] exclusionArray)
Deprecated.
|
static boolean |
skip(java.lang.String name) |
static boolean |
skip(java.net.URL url) |
static boolean |
skip(java.net.URL url,
Filter includeFilter,
Filter excludeFilter) |
public static final java.lang.String DEFAULT_EXCLUSIONS_ALIAS
public static final java.lang.String ADDITIONAL_EXCLUDES
public static final java.lang.String ADDITIONAL_INCLUDE
public static final java.lang.String EXCLUSION_FILE
public static UrlSet filterArchives(Filter filter, java.lang.ClassLoader classLoader, UrlSet urlSet)
public static java.util.Set<java.lang.String> callers()
public static java.util.Set<java.lang.String> callers(Filter start)
public static UrlSet applyBuiltinExcludes(UrlSet urlSet) throws java.net.MalformedURLException
java.net.MalformedURLException
public static UrlSet applyBuiltinExcludes(UrlSet urlSet, Filter includeFilter) throws java.net.MalformedURLException
java.net.MalformedURLException
public static boolean skip(java.net.URL url)
public static boolean skip(java.net.URL url, Filter includeFilter, Filter excludeFilter)
public static boolean skip(java.lang.String name)
public static UrlSet applyBuiltinExcludes(UrlSet urlSet, Filter includeFilter, Filter excludeFilter) throws java.net.MalformedURLException
java.net.MalformedURLException
@Deprecated public static void setExclusions(java.lang.String[] exclusionArray)
public static void addAdditionalCustomFilter(Filter excluded, Filter included)
excluded
- a filter returning true for filtered jars.included
- a filter returning true for included jars.public static java.lang.String[] getExclusions()
public static Filter getFilter()
public static java.lang.String sanitize(java.lang.String value)
public static java.lang.String[] readInputStreamList(java.io.InputStream is)
public static void _loadFromClasspath(FileUtils base, java.util.List<java.net.URL> jarList, java.lang.ClassLoader classLoader)