Package org.beanio.builder
Class CsvParserBuilder
- java.lang.Object
-
- org.beanio.builder.ParserBuilder
-
- org.beanio.builder.CsvParserBuilder
-
public class CsvParserBuilder extends ParserBuilder
Builder for CSV parsers.- Since:
- 2.1.0
-
-
Constructor Summary
Constructors Constructor Description CsvParserBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CsvParserBuilder
allowUnquotedQuotes()
CsvParserBuilder
allowUnquotedWhitespace()
CsvParserBuilder
alwaysQuote()
BeanConfig<RecordParserFactory>
build()
CsvParserBuilder
delimiter(char delimiter)
CsvParserBuilder
enableComments(java.lang.String... comments)
CsvParserBuilder
enableMultiline()
CsvParserBuilder
escape(char escape)
CsvParserBuilder
quote(char quote)
CsvParserBuilder
recordTerminator(java.lang.String terminator)
-
-
-
Method Detail
-
delimiter
public CsvParserBuilder delimiter(char delimiter)
-
quote
public CsvParserBuilder quote(char quote)
-
escape
public CsvParserBuilder escape(char escape)
-
recordTerminator
public CsvParserBuilder recordTerminator(java.lang.String terminator)
-
enableComments
public CsvParserBuilder enableComments(java.lang.String... comments)
-
enableMultiline
public CsvParserBuilder enableMultiline()
-
allowUnquotedWhitespace
public CsvParserBuilder allowUnquotedWhitespace()
-
allowUnquotedQuotes
public CsvParserBuilder allowUnquotedQuotes() throws BeanIOConfigurationException
- Throws:
BeanIOConfigurationException
-
alwaysQuote
public CsvParserBuilder alwaysQuote() throws BeanIOConfigurationException
- Throws:
BeanIOConfigurationException
-
build
public BeanConfig<RecordParserFactory> build()
- Specified by:
build
in classParserBuilder
-
-