public abstract class SezPozAdapter extends Object
Modifier and Type | Field and Description |
---|---|
private static ClassLoader |
classloader
Class loader to be used for searching SezPoz annotation indices.
|
protected static boolean |
debug
For internal debugging purposes.
|
protected static boolean |
initDone
Variable to check if init routine was called.
|
Modifier | Constructor and Description |
---|---|
private |
SezPozAdapter()
Default constructor, should not be called from outside.
|
Modifier and Type | Method and Description |
---|---|
static void |
initAdapter()
Initialization routine for this class.
|
static void |
initAdapter(ClassLoader cl)
Initialization routine for this class.
|
static <A extends Annotation,I> |
load(Class<A> annotation,
Class<I> instanceType) |
protected static boolean debug
private static ClassLoader classloader
protected static boolean initDone
private SezPozAdapter()
public static void initAdapter()
This routine is to be called prior to accessing any of the methods of this class as it takes care of proper initialization of the class. If this does not happen, a warning is shown. Do not expect the class to work properly in that case.
Note that the method can be called multiple times during a session. However, changing initialization may change class behaviour.
public static void initAdapter(ClassLoader cl)
This routine is to be called prior to accessing any of the methods of this class as it takes care of proper initialization of the class. If this does not happen, a warning is shown. Do not expect the class to work properly in that case.
Note that the method can be called multiple times during a session. However, changing initialization may change class behaviour.
cl
- Class loader to be used in accessing annotation indices.public static <A extends Annotation,I> net.java.sezpoz.Index<A,I> load(Class<A> annotation, Class<I> instanceType)
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.