public class AllFieldsWriter extends Object implements DataWriter
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
log
Logger
|
Constructor and Description |
---|
AllFieldsWriter(boolean showHeadings,
OutputStream os)
Constructor
|
AllFieldsWriter(OutputStream os)
Constructor
|
Modifier and Type | Method and Description |
---|---|
AllFieldsWriter |
setSeparator(String newSeparator)
Changes the current separator to the given one
|
void |
writeOutput(DataPipe cr)
Writes an output to a given data pipe
|
public AllFieldsWriter(OutputStream os)
os
- the output stream to use in writingpublic AllFieldsWriter(boolean showHeadings, OutputStream os)
os
- the output stream to use in writingshowHeadings
- whether or not to show the headings on the first linepublic AllFieldsWriter setSeparator(String newSeparator)
newSeparator
- the new separatorpublic void writeOutput(DataPipe cr)
DataWriter
writeOutput
in interface DataWriter
cr
- the DataPipe to write toCopyright © 2016. All rights reserved.