public class CsvLowLevelSerializerImpl extends RbfLowLevelSerializerImpl<CsvLowLevelConfiguration> implements CsvLowLevelSerializer
CsvLowLevelSerializer
based on RbfLowLevelSerializerImpl
.Constructor and Description |
---|
CsvLowLevelSerializerImpl(CsvLowLevelConfiguration config)
Constructs a new
CsvLowLevelSerializerImpl . |
Modifier and Type | Method and Description |
---|---|
protected void |
afterOpen()
Called after opening a new input stream.
|
protected void |
beforeFinishRecord()
Called before a record is finished.
|
void |
writeField(String value,
QuoteMode quoteMode)
Writes the next field.
|
close, finishRecord, flush, getConfiguration, open, writeChar, writeLine, writeString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finishRecord, writeLine
close, flush, open
public CsvLowLevelSerializerImpl(CsvLowLevelConfiguration config)
CsvLowLevelSerializerImpl
.config
- the configurationprotected void afterOpen()
afterOpen
in class RbfLowLevelSerializerImpl<CsvLowLevelConfiguration>
public void writeField(String value, QuoteMode quoteMode)
writeField
in interface CsvLowLevelSerializer
value
- the field value (must not be null)quoteMode
- the quote mode to useprotected void beforeFinishRecord()
beforeFinishRecord
in class RbfLowLevelSerializerImpl<CsvLowLevelConfiguration>
Copyright © 2014. All rights reserved.