Package de.businesscode.bcdui.wrs.export
Class CsvDataWriter
- java.lang.Object
-
- de.businesscode.bcdui.wrs.load.AbstractDataWriter
-
- de.businesscode.bcdui.wrs.export.CsvDataWriter
-
- All Implemented Interfaces:
IDataWriter
public abstract class CsvDataWriter extends AbstractDataWriter implements IDataWriter
-
-
Field Summary
-
Fields inherited from class de.businesscode.bcdui.wrs.load.AbstractDataWriter
rowCounter
-
-
Constructor Summary
Constructors Constructor Description CsvDataWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
close the destination resourceprotected abstract java.io.Writer
getLazyStream()
getLazyStream This method called only once.protected void
write()
replace the write method from interface-
Methods inherited from class de.businesscode.bcdui.wrs.load.AbstractDataWriter
getColumnsCount, getDuration, getGenerator, getOptions, getRequestDocRoot, getResultSet, getResultSetMetaData, getRowCount, isEscapeXMLType, setEscapeXMLType, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.businesscode.bcdui.wrs.load.IDataWriter
getColumnsCount, getRowCount, write
-
-
-
-
Method Detail
-
getLazyStream
protected abstract java.io.Writer getLazyStream() throws java.lang.Exception
getLazyStream This method called only once.- Returns:
- the output stream.
- Throws:
java.lang.Exception
-
write
protected void write() throws java.lang.Exception
Description copied from class:AbstractDataWriter
replace the write method from interface- Specified by:
write
in classAbstractDataWriter
- Throws:
java.lang.Exception
- See Also:
AbstractDataWriter.write()
-
close
public void close() throws java.lang.Exception
Description copied from interface:IDataWriter
close the destination resource- Specified by:
close
in interfaceIDataWriter
- Throws:
java.lang.Exception
- See Also:
IDataWriter.close()
-
-