|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.batch.ALDBatchInputManager
public abstract class ALDBatchInputManager
Class to manage data inputs in batch processing with operators.
Field Summary | |
---|---|
protected static boolean |
debug
For internal debugging purposes only. |
protected HashMap<Class<?>,String> |
mapTable
Hashtable containing mappings of datatypes to provider classes. |
Constructor Summary | |
---|---|
protected |
ALDBatchInputManager()
Default constructor. |
Method Summary | |
---|---|
ALDBatchInputIterator |
getProvider(Class<?> cl,
Class<?> interfaceRequired)
Method to return an instance of the batch input provider for given class. |
protected static HashMap<Class<?>,String> |
initMapTable(Class<?> interfaceRequired)
Method to initialize the hashmap which registers batch input providers. |
boolean |
providerAvailable(Class<?> cl)
Check if a provider has registered for the given class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static boolean debug
protected HashMap<Class<?>,String> mapTable
Constructor Detail |
---|
protected ALDBatchInputManager()
Method Detail |
---|
protected static HashMap<Class<?>,String> initMapTable(Class<?> interfaceRequired)
interfaceRequired
- Interface of which providers are registered.public boolean providerAvailable(Class<?> cl)
Note that this function does not try to instantiate a provider, thus, just a flat check is done, and on lateron requesting a provider object errors are still possible.
cl
- Requested class.
public ALDBatchInputIterator getProvider(Class<?> cl, Class<?> interfaceRequired) throws ALDBatchIOManagerException
A provider is returned which implements the requested interface
interfaceRequired
(which is by itself required to
implement ALDBatchInputIterator).
cl
- Class to get a provider for.interfaceRequired
- Interface needed to be implemented by provider.
ALDDataIOManagerException
ALDBatchIOManagerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |