public abstract class CSVDataWriter extends AbstractExtractDataWriter
Constructor and Description |
---|
CSVDataWriter() |
Modifier and Type | Method and Description |
---|---|
void |
format(java.lang.Object ohMap)
This method formats the data that is passed to it
|
void |
init()
This method initializes the data writer.
|
void |
save(java.lang.Object obj)
This method is used to save the data to the output file.
|
close
getConfigProperties, initConfig, setConfigProperties
public void init() throws DataLoadException
init
in interface DataWriter
init
in class AbstractExtractDataWriter
DataLoadException
- This exception is thrown when an
error occurs during initializationpublic void save(java.lang.Object obj) throws DataLoadException
save
in interface DataWriter
save
in class AbstractExtractDataWriter
obj
- Object that has to be savedDataLoadException
- The exception thrown while saving the data
to the output filepublic void format(java.lang.Object ohMap)
ohMap
- The object to be formatted