Class CsvParserFactory
- java.lang.Object
-
- org.junit.jupiter.params.provider.CsvParserFactory
-
class CsvParserFactory extends java.lang.Object- Since:
- 5.6
-
-
Field Summary
Fields Modifier and Type Field Description private static booleanCOMMENT_PROCESSING_FOR_CSV_FILE_SOURCEprivate static java.lang.StringDEFAULT_DELIMITERprivate static charEMPTY_CHARprivate static java.lang.StringLINE_SEPARATOR
-
Constructor Summary
Constructors Constructor Description CsvParserFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static com.univocity.parsers.csv.CsvParsercreateParser(java.lang.String delimiter, java.lang.String lineSeparator, char quote, java.lang.String emptyValue, int maxCharsPerColumn, boolean commentProcessingEnabled, boolean headerExtractionEnabled, boolean ignoreLeadingAndTrailingWhitespace)(package private) static com.univocity.parsers.csv.CsvParsercreateParserFor(CsvFileSource annotation)(package private) static com.univocity.parsers.csv.CsvParsercreateParserFor(CsvSource annotation)private static com.univocity.parsers.csv.CsvParserSettingscreateParserSettings(java.lang.String delimiter, java.lang.String lineSeparator, char quote, java.lang.String emptyValue, int maxCharsPerColumn, boolean commentProcessingEnabled, boolean headerExtractionEnabled, boolean ignoreLeadingAndTrailingWhitespace)private static java.lang.StringselectDelimiter(java.lang.annotation.Annotation annotation, char delimiter, java.lang.String delimiterString)
-
-
-
Field Detail
-
DEFAULT_DELIMITER
private static final java.lang.String DEFAULT_DELIMITER
- See Also:
- Constant Field Values
-
LINE_SEPARATOR
private static final java.lang.String LINE_SEPARATOR
- See Also:
- Constant Field Values
-
EMPTY_CHAR
private static final char EMPTY_CHAR
- See Also:
- Constant Field Values
-
COMMENT_PROCESSING_FOR_CSV_FILE_SOURCE
private static final boolean COMMENT_PROCESSING_FOR_CSV_FILE_SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createParserFor
static com.univocity.parsers.csv.CsvParser createParserFor(CsvSource annotation)
-
createParserFor
static com.univocity.parsers.csv.CsvParser createParserFor(CsvFileSource annotation)
-
selectDelimiter
private static java.lang.String selectDelimiter(java.lang.annotation.Annotation annotation, char delimiter, java.lang.String delimiterString)
-
createParser
private static com.univocity.parsers.csv.CsvParser createParser(java.lang.String delimiter, java.lang.String lineSeparator, char quote, java.lang.String emptyValue, int maxCharsPerColumn, boolean commentProcessingEnabled, boolean headerExtractionEnabled, boolean ignoreLeadingAndTrailingWhitespace)
-
createParserSettings
private static com.univocity.parsers.csv.CsvParserSettings createParserSettings(java.lang.String delimiter, java.lang.String lineSeparator, char quote, java.lang.String emptyValue, int maxCharsPerColumn, boolean commentProcessingEnabled, boolean headerExtractionEnabled, boolean ignoreLeadingAndTrailingWhitespace)
-
-