public class DelimiterWriter extends AbstractWriter
lineSeparator| Modifier | Constructor and Description | 
|---|---|
protected  | 
DelimiterWriter(Map columnMapping,
               Writer output,
               char delimiter,
               char qualifier,
               WriterOptions options)  | 
| Modifier and Type | Method and Description | 
|---|---|
Writer | 
nextRecord()
Writes a newline to the output and discards the  
rowMap. | 
Writer | 
printFooter()
Export footer 
 | 
Writer | 
printHeader()
Export header 
 | 
protected boolean | 
validateColumnTitle(String columnTitle)
Subclasses must implement this method to perform validation of
  
columnTitle. | 
protected void | 
write(Object value)  | 
protected void | 
writeColumnTitles()  | 
protected void | 
writeRow()  | 
protected void | 
writeWithDelimiter(Object value)  | 
addRecordEntry, close, flush, getRowMap, write, writeprotected DelimiterWriter(Map columnMapping, Writer output, char delimiter, char qualifier, WriterOptions options) throws IOException
IOExceptionprotected void writeWithDelimiter(Object value) throws IOException
IOExceptionprotected void write(Object value) throws IOException
write in class AbstractWriterIOExceptionprotected void writeColumnTitles()
                          throws IOException
IOExceptionprotected void writeRow()
                 throws IOException
IOExceptionpublic final Writer nextRecord() throws IOException
AbstractWriterrowMap.
 
 This method must be overridden by subclasses to write out the record data
 stored in rowMap. Overriders must call
 super.nextRecord() as the last call in their implementation.
nextRecord in interface WriternextRecord in class AbstractWriterIOExceptionpublic Writer printFooter() throws IOException
WriterIOExceptionpublic Writer printHeader() throws IOException
WriterIOExceptionprotected boolean validateColumnTitle(String columnTitle)
AbstractWritercolumnTitle.validateColumnTitle in class AbstractWritercolumnTitle - title of the column to be filledtrue if the column title is valid else return
         false.Copyright © 2006–2021 Appendium - Portfolio Financing Platform. All rights reserved.