public static class CsvTextFormat.Builder extends Object
CsvTextFormat
.Constructor and Description |
---|
Builder() |
public CsvTextFormat.Builder withCharset(String newValue)
newValue
- the charset namepublic CsvTextFormat.Builder withCharset(Charset newValue)
newValue
- the charsetpublic CsvTextFormat.Builder withLineSeparator(LineSeparator newValue)
newValue
- the line separatorpublic CsvTextFormat.Builder withFieldSeparator(char newValue)
newValue
- the field separatorpublic CsvTextFormat.Builder withQuoteCharacter(char newValue)
newValue
- the quote characterpublic CsvTextFormat.Builder withAllowLineFeedInField(boolean newValue)
newValue
- true
if it is enabled, otherwise false
public CsvTextFormat.Builder withDefaultQuoteStyle(QuoteStyle newValue)
newValue
- the quote stylepublic CsvTextFormat.Builder withHeaderQuoteStyle(QuoteStyle newValue)
newValue
- the quote stylepublic CsvTextFormat.Builder withInputTransformer(Class<? extends UnaryOperator<CharSequence>> newValue)
newValue
- the input transformer classpublic CsvTextFormat.Builder withInputTransformer(Supplier<? extends UnaryOperator<CharSequence>> newValue)
newValue
- the input transformerpublic CsvTextFormat.Builder withOutputTransformer(Class<? extends UnaryOperator<CharSequence>> newValue)
newValue
- the output transformer classpublic CsvTextFormat.Builder withOutputTransformer(Supplier<? extends UnaryOperator<CharSequence>> newValue)
newValue
- the output transformerpublic CsvTextFormat build()
CsvTextFormat
.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.