public class WriterOptions extends Object
| Constructor and Description |
|---|
WriterOptions() |
| Modifier and Type | Method and Description |
|---|---|
WriterOptions |
autoPrintHeader(boolean autoPrintHeader)
When this is set to true, the addRecordEntry(column, value) will throw an exception.
|
static WriterOptions |
getInstance()
Returns a DelimiterWriterOptions instance
|
String |
getLineSeparator()
Get the current line separator.
|
String |
getReplaceCarriageReturnWith() |
boolean |
isAutoPrintHeader() |
WriterOptions |
setLineSeparator(String lineSeparator)
Set the line separator.
|
WriterOptions |
setReplaceCarriageReturnWith(String replaceCarriageReturnWith)
Set the string to replace the CR with.
|
public static WriterOptions getInstance()
public boolean isAutoPrintHeader()
public WriterOptions autoPrintHeader(boolean autoPrintHeader)
autoPrintHeader - the autoPrintHeader to setpublic String getLineSeparator()
public WriterOptions setLineSeparator(String lineSeparator)
lineSeparator - the line separatorpublic WriterOptions setReplaceCarriageReturnWith(String replaceCarriageReturnWith)
public String getReplaceCarriageReturnWith()
Copyright © 2006–2021 Appendium - Portfolio Financing Platform. All rights reserved.