public abstract class AbstractExtractDataWriter extends AbstractDataWriter
Constructor and Description |
---|
AbstractExtractDataWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This method closes the data writer.
|
void |
init()
Initializes the Writer.
|
abstract void |
save(java.lang.Object obj)
This method has to be implemented by the class extending this
|
getConfigProperties, initConfig, setConfigProperties
public void init() throws DataLoadException
init
in interface DataWriter
init
in class AbstractDataWriter
DataLoadException
- This exception is thrown when an
exception occurs during the initialization.public abstract void save(java.lang.Object obj) throws DataLoadException
save
in interface DataWriter
save
in class AbstractDataWriter
obj
- The object that has to be savedDataLoadException
public void close() throws DataLoadException
close
in interface DataWriter
close
in class AbstractDataWriter
DataLoadException
- This exception is thrown when
an exception occurs while closing the file.