public class CSVOutput extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CSVOutput() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
Character |
getFieldDelimiter() |
String |
getFieldDelimiterAsString() |
Character |
getQuoteCharacter() |
String |
getQuoteCharacterAsString() |
Character |
getQuoteEscapeCharacter() |
String |
getQuoteEscapeCharacterAsString() |
String |
getQuoteFields() |
Character |
getRecordDelimiter() |
String |
getRecordDelimiterAsString() |
int |
hashCode() |
void |
setFieldDelimiter(Character fieldDelimiter)
Sets the value used to separate individual fields in a record.
|
void |
setFieldDelimiter(String fieldDelimiter)
Sets the value used to separate individual fields in a record.
|
void |
setQuoteCharacter(Character quoteCharacter)
Sets the value used for escaping where the field delimiter is part of the value.
|
void |
setQuoteCharacter(String quoteCharacter)
Sets the value used for escaping where the field delimiter is part of the value.
|
void |
setQuoteEscapeCharacter(Character quoteEscapeCharacter)
Sets the character used for escaping the quote character inside an already escaped value.
|
void |
setQuoteEscapeCharacter(String quoteEscapeCharacter)
Sets the character used for escaping the quote character inside an already escaped value.
|
void |
setQuoteFields(QuoteFields quoteFields)
Sets the quoted fields.
|
void |
setQuoteFields(String quoteFields)
Sets the quoted fields.
|
void |
setRecordDelimiter(Character recordDelimiter)
Sets the value used to separate individual records.
|
void |
setRecordDelimiter(String recordDelimiter)
Sets the value used to separate individual records.
|
String |
toString() |
CSVOutput |
withFieldDelimiter(Character fieldDelimiter)
Sets the value used to separate individual fields in a record.
|
CSVOutput |
withFieldDelimiter(String fieldDelimiter)
Sets the value used to separate individual fields in a record.
|
CSVOutput |
withQuoteCharacter(Character quoteCharacter)
Sets the value used for escaping where the field delimiter is part of the value.
|
CSVOutput |
withQuoteCharacter(String quoteCharacter)
Sets the value used for escaping where the field delimiter is part of the value.
|
CSVOutput |
withQuoteEscapeCharacter(Character quoteEscapeCharacter)
Sets the single character used for escaping the quote character inside an already escaped value.
|
CSVOutput |
withQuoteEscapeCharacter(String quoteEscapeCharacter)
Sets the character used for escaping the quote character inside an already escaped value.
|
CSVOutput |
withQuoteFields(QuoteFields quoteFields)
Sets the quoted fields.
|
CSVOutput |
withQuoteFields(String quoteFields)
Sets the quoted fields.
|
CSVOutput |
withRecordDelimiter(Character recordDelimiter)
Sets the value used to separate individual records.
|
CSVOutput |
withRecordDelimiter(String recordDelimiter)
Sets the value used to separate individual records.
|
public String getQuoteFields()
public void setQuoteFields(String quoteFields)
quoteFields
- The new quoteFields value.public CSVOutput withQuoteFields(String quoteFields)
quoteFields
- The new quoteFields value.public void setQuoteFields(QuoteFields quoteFields)
quoteFields
- The new quoteFields value.public CSVOutput withQuoteFields(QuoteFields quoteFields)
quoteFields
- The new quoteFields value.public Character getQuoteEscapeCharacter()
setQuoteEscapeCharacter(String)
, this will return the first character in the string.to retrieve the full value.
public String getQuoteEscapeCharacterAsString()
public void setQuoteEscapeCharacter(String quoteEscapeCharacter)
quoteEscapeCharacter
- New quoteEscapeCharacter valuepublic CSVOutput withQuoteEscapeCharacter(String quoteEscapeCharacter)
quoteEscapeCharacter
- New quoteEscapeCharacter valuepublic void setQuoteEscapeCharacter(Character quoteEscapeCharacter)
quoteEscapeCharacter
- New quoteEscapeCharacter valuepublic CSVOutput withQuoteEscapeCharacter(Character quoteEscapeCharacter)
quoteEscapeCharacter
- The new quoteEscapeCharacter value.public Character getRecordDelimiter()
setRecordDelimiter(String)
, this will return the first character in the string.to retrieve the full value.
public String getRecordDelimiterAsString()
public void setRecordDelimiter(String recordDelimiter)
recordDelimiter
- New recordDelimiter valuepublic CSVOutput withRecordDelimiter(String recordDelimiter)
recordDelimiter
- New recordDelimiter valuepublic void setRecordDelimiter(Character recordDelimiter)
recordDelimiter
- New recordDelimiter valuepublic CSVOutput withRecordDelimiter(Character recordDelimiter)
recordDelimiter
- The new recordDelimiter value.public Character getFieldDelimiter()
setFieldDelimiter(String)
, this will return the first character in the string.to retrieve the full value.
public String getFieldDelimiterAsString()
public void setFieldDelimiter(String fieldDelimiter)
fieldDelimiter
- The new fieldDelimiter value.public CSVOutput withFieldDelimiter(String fieldDelimiter)
fieldDelimiter
- The new fieldDelimiter value.public void setFieldDelimiter(Character fieldDelimiter)
fieldDelimiter
- New fieldDelimiter valuepublic CSVOutput withFieldDelimiter(Character fieldDelimiter)
fieldDelimiter
- The new fieldDelimiter value.public Character getQuoteCharacter()
setQuoteCharacter(String)
, this will return the first character in the string.to retrieve the full value.
public String getQuoteCharacterAsString()
public void setQuoteCharacter(String quoteCharacter)
quoteCharacter
- New quoteCharacter valuepublic CSVOutput withQuoteCharacter(String quoteCharacter)
quoteCharacter
- New quoteCharacter valuepublic void setQuoteCharacter(Character quoteCharacter)
quoteCharacter
- New quoteCharacter valuepublic CSVOutput withQuoteCharacter(Character quoteCharacter)
quoteCharacter
- The new quoteCharacter value.Copyright © 2020. All rights reserved.