| Modifier and Type | Class and Description |
|---|---|
| pack-priv static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| private static final String | |
| private static final char | |
| private static final int | |
| private static final int | |
| private static final boolean | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static CsvCallbackHandler | createCallbackHandler(String emptyValue, Set<String> nullValues, boolean ignoreLeadingAndTrailingWhitespaces, int maxCharsPerColumn, boolean useHeadersInDisplayName)
|
| pack-priv static CsvReader | |
| pack-priv static CsvReader | |
| private static String | |
| private static boolean | |
| pack-priv static void | |
| pack-priv static void | |
| private static void | validateControlCharactersDiffer(String delimiter, char quoteCharacter, char commentCharacter, CommentStrategy commentStrategy)
|
| private static void | |
| private static void |
| ALLOW_DUPLICATE_HEADER_FIELDS | back to summary |
|---|---|
| private static final boolean ALLOW_DUPLICATE_HEADER_FIELDS | |
| ALLOW_EXTRA_FIELDS | back to summary |
|---|---|
| private static final boolean ALLOW_EXTRA_FIELDS | |
| ALLOW_MISSING_FIELDS | back to summary |
|---|---|
| private static final boolean ALLOW_MISSING_FIELDS | |
| DEFAULT_DELIMITER | back to summary |
|---|---|
| private static final String DEFAULT_DELIMITER | |
| EMPTY_CHAR | back to summary |
|---|---|
| private static final char EMPTY_CHAR | |
| MAX_FIELDS | back to summary |
|---|---|
| private static final int MAX_FIELDS | |
| MAX_RECORD_SIZE | back to summary |
|---|---|
| private static final int MAX_RECORD_SIZE | |
| SKIP_EMPTY_LINES | back to summary |
|---|---|
| private static final boolean SKIP_EMPTY_LINES | |
| TRIM_WHITESPACES_AROUND_QUOTES | back to summary |
|---|---|
| private static final boolean TRIM_WHITESPACES_AROUND_QUOTES | |
| CsvReaderFactory | back to summary |
|---|---|
| private CsvReaderFactory() | |
| createCallbackHandler | back to summary |
|---|---|
| private static CsvCallbackHandler | |
| createReaderFor | back to summary |
|---|---|
| pack-priv static CsvReader | |
| createReaderFor | back to summary |
|---|---|
| pack-priv static CsvReader | |
| selectDelimiter | back to summary |
|---|---|
| private static String selectDelimiter(char delimiter, String delimiterString) | |
| stringValuesUnique | back to summary |
|---|---|
| private static boolean stringValuesUnique(Object... values) | |
| validate | back to summary |
|---|---|
| pack-priv static void validate(CsvSource csvSource) | |
| validate | back to summary |
|---|---|
| pack-priv static void validate(CsvFileSource csvFileSource) | |
| validateControlCharactersDiffer | back to summary |
|---|---|
| private static void validateControlCharactersDiffer(String delimiter, char quoteCharacter, char commentCharacter, CommentStrategy commentStrategy) | |
| validateDelimiter | back to summary |
|---|---|
| private static void validateDelimiter(char delimiter, String delimiterString, Annotation annotation) | |
| validateMaxCharsPerColumn | back to summary |
|---|---|
| private static void validateMaxCharsPerColumn(int maxCharsPerColumn) | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | emptyValue
Record Component accessed by emptyValue(). |
| private final boolean | ignoreLeadingAndTrailingWhitespaces
Record Component accessed by ignoreLeadingAndTrailingWhitespaces(). |
| pack-priv static final String | NULL_MARKER
Represents a |
| private final Set | nullValues
Record Component accessed by nullValues(). |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultFieldModifier(String emptyValue, Set<String> nullValues, boolean ignoreLeadingAndTrailingWhitespaces)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public boolean | ignoreLeadingAndTrailingWhitespaces()
Record Component getter of ignoreLeadingAndTrailingWhitespaces.
|
| public String | modify(long unusedStartingLineNumber, int unusedFieldIdx, boolean quoted, String field)
Overrides default de. Gets called for every single field (that is not a comment). |
| public Set | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| emptyValue | back to summary |
|---|---|
| private final String emptyValue Record Component accessed by emptyValue(). | |
| ignoreLeadingAndTrailingWhitespaces | back to summary |
|---|---|
| private final boolean ignoreLeadingAndTrailingWhitespaces Record Component accessed by ignoreLeadingAndTrailingWhitespaces(). | |
| NULL_MARKER | back to summary |
|---|---|
| pack-priv static final String NULL_MARKER Represents a The marker is generated with a unique ID to ensure it cannot conflict with actual CSV content. | |
| nullValues | back to summary |
|---|---|
| private final Set<String> nullValues Record Component accessed by nullValues(). | |
| DefaultFieldModifier | back to summary |
|---|---|
| pack-priv DefaultFieldModifier(String emptyValue, Set<String> nullValues, boolean ignoreLeadingAndTrailingWhitespaces) | |
| emptyValue | back to summary |
|---|---|
| public String emptyValue() Record Component getter of emptyValue. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| ignoreLeadingAndTrailingWhitespaces | back to summary |
|---|---|
| public boolean ignoreLeadingAndTrailingWhitespaces() Record Component getter of ignoreLeadingAndTrailingWhitespaces. | |
| modify | back to summary |
|---|---|
| public String modify(long unusedStartingLineNumber, int unusedFieldIdx, boolean quoted, String field) Overrides default de. Doc from de. Gets called for every single field (that is not a comment). The Default implementation returns the field as is.
| |
| nullValues | back to summary |
|---|---|
| public Set Record Component getter of nullValues. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |