| Package | Description |
|---|---|
| com.comphenix.protocol.utility |
| Modifier and Type | Method and Description |
|---|---|
static ClassSource |
ClassSource.attemptLoadFrom(ClassSource... sources)
Retrieve a class source that will attempt lookups in each of the given sources in the order they are in the array, and return the first value that is found.
|
static ClassSource |
ClassSource.empty() |
static ClassSource |
ClassSource.fromClassLoader()
Construct a class source from the default class loader.
|
static ClassSource |
ClassSource.fromClassLoader(ClassLoader loader)
Construct a class source from the given class loader.
|
static ClassSource |
ClassSource.fromMap(Map<String,Class<?>> map)
Construct a class source from a mapping of canonical names and the corresponding classes.
|
static ClassSource |
ClassSource.fromPackage(String packageName)
Construct a class source from the default class loader and package.
|
ClassSource |
ClassSource.retry(ClassSource other)
Retrieve a class source that will retry failed lookups in the given source.
|
ClassSource |
ClassSource.usingPackage(String packageName)
Retrieve a class source that prepends a specific package name to every lookup.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassSource |
ClassSource.attemptLoadFrom(ClassSource... sources)
Retrieve a class source that will attempt lookups in each of the given sources in the order they are in the array, and return the first value that is found.
|
ClassSource |
ClassSource.retry(ClassSource other)
Retrieve a class source that will retry failed lookups in the given source.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.