|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.datatransformation.datatransformationlibrary.datahandlers.IOHandler
public class IOHandler
| Constructor Summary | |
|---|---|
IOHandler()
|
|
| Method Summary | |
|---|---|
static ContentTypeEvaluator |
getContentTypeEvaluator(String evaluatorType)
Initializes and returns a ContentTypeEvaluator object. |
static DataSink |
getDataSink(Output output)
Initializes and returns a DataSink object. |
static DataSource |
getDataSource(Input input)
Initializes and returns a DataSource object. |
static void |
init(String dataHandlersConfigFile)
Initializes the IOHandler by reading the available data handlers from a configuration file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IOHandler()
| Method Detail |
|---|
public static void init(String dataHandlersConfigFile)
throws Exception
IOHandler by reading the available data handlers from a configuration file.
dataHandlersConfigFile - The configuration file from which the IOHandler will read
Exception
public static DataSource getDataSource(Input input)
throws Exception
DataSource object.
input - The input type, value and parameters
DataSource object.
Exception - If an error occurred in initializing the DataSource.
public static ContentTypeEvaluator getContentTypeEvaluator(String evaluatorType)
throws Exception
ContentTypeEvaluator object.
evaluatorType - The evaluator type.
ContentTypeEvaluator object.
Exception - If an error occurred in initializing the ContentTypeEvaluator.
public static DataSink getDataSink(Output output)
throws Exception
DataSink object.
output - The output type, value and parameters
Exception - If an error occurred in initializing the DataSink.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||