Modifier and Type | Field and Description |
---|---|
private ClassLoader |
cl
Classloader
|
static char |
COMMENT_CHAR
Comment character
|
private Enumeration<URL> |
configfiles
Enumeration of configuration files
|
private Iterator<Class<?>> |
curiter
Current iterator
|
private static Logging |
LOG
Class logger.
|
private Class<?> |
nextclass
Next class to return
|
private Class<?> |
parent
Parent class
|
static String |
PREFIX
Prefix for the ELKI functionality discovery.
|
Constructor and Description |
---|
ELKIServiceLoader(Class<?> parent)
Constructor, using the system class loader.
|
ELKIServiceLoader(Class<?> parent,
ClassLoader cl)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
getServiceFiles(Class<?> parent)
Get services files for a given class.
|
boolean |
hasNext() |
Class<?> |
next() |
private Iterator<Class<?>> |
parseFile(URL nextElement) |
private boolean |
parseLine(String line,
ArrayList<Class<?>> classes,
URL nextElement) |
void |
remove() |
private static final Logging LOG
public static final String PREFIX
public static final char COMMENT_CHAR
private Class<?> parent
private ClassLoader cl
private Enumeration<URL> configfiles
private Class<?> nextclass
public ELKIServiceLoader(Class<?> parent, ClassLoader cl)
parent
- Parent classcl
- Classloader to usepublic ELKIServiceLoader(Class<?> parent)
parent
- Parent classprivate void getServiceFiles(Class<?> parent)
parent
- Parent class