public abstract class AbstractExtractDataWriter extends AbstractDataWriter
Modifier and Type | Field and Description |
---|---|
protected java.nio.channels.FileChannel | iFChannel
FileChannel object used for writing out data
|
protected java.io.FileOutputStream | iFos
FileOutputStream object used for writing out data
|
Constructor and Description |
---|
AbstractExtractDataWriter() |
Modifier and Type | Method and Description |
---|---|
void | close()
This method closes the data writer.
|
protected abstract void | format(java.lang.Object obj)
This method has to be implemented by the class extending this
|
protected org.w3c.dom.Node | getDataWriterDataNode()
Obtain the data writer node
|
void | init()
Initializes the Writer.
|
abstract void | save(java.lang.Object obj)
This method has to be implemented by the class extending this
|
protected void | writeData(java.lang.String data)
This method writes each row to the output file
|
protected java.nio.channels.FileChannel iFChannel
protected java.io.FileOutputStream iFos
public void init() throws DataLoadException
protected org.w3c.dom.Node getDataWriterDataNode()
public abstract void save(java.lang.Object obj) throws DataLoadException
protected abstract void format(java.lang.Object obj)
public void close() throws DataLoadException
protected void writeData(java.lang.String data)