CSVReaderHeaderAware.
| Access | Constructor and Description |
|---|---|
| public | CSVReaderHeaderAwareBuilder(Reader
The reader to an underlying CSV source. reader)Sets the reader to an underlying CSV source. |
| Modifier and Type | Method and Description |
|---|---|
| public CSVReaderHeaderAware | Returns: TheCSVReaderHeaderAware based on the set criteria.Implements abstract com. Creates the |
| public CSVReaderHeaderAwareBuilder | Returns: thisThe parser to use to parse the input. icsvParser)Sets the parser to use to parse the input. |
| public CSVReaderHeaderAwareBuilder | Returns: thisLocale for error messages errorLocale)Sets the locale for all error messages. |
| public CSVReaderHeaderAwareBuilder | Returns: thisCSVReaderNullFieldIndicator set to what should be considered a null field.Checks to see if it should treat a field with two separators, two quotes, or both as a null field. |
| public CSVReaderHeaderAwareBuilder | Returns: thisTrue to keep carriage returns, false to discard. keepCR)Sets if the reader will keep or discard carriage returns. |
| public CSVReaderHeaderAwareBuilder | Returns: thisLineValidator to inject.Adds a |
| public CSVReaderHeaderAwareBuilder | Returns: thisNo more than this number of lines is allowed in a
single input record. The default is multilineLimit)CSVReader#DEFAULT_MULTILINE_LIMIT.Sets the maximum number of lines allowed in a multiline record. |
| public CSVReaderHeaderAwareBuilder | Returns: thisRowProcessor to injectAdds a |
| public CSVReaderHeaderAwareBuilder | Returns: thisRowValidator to injectAdds a |
| public CSVReaderHeaderAwareBuilder | Returns: thisThe number of lines to skip before reading. skipLines)Sets the number of lines to skip before reading. |
| public CSVReaderHeaderAwareBuilder | Returns: thisTrue if verifyReader)CSVReaderHeaderAware should verify reader before each read, false otherwise.Checks to see if the |
| CSVReaderHeaderAwareBuilder | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder(Reader reader) Sets the reader to an underlying CSV source.
| |
| build | back to summary |
|---|---|
| public CSVReaderHeaderAware build() throws RuntimeException Implements abstract com. Creates the
| |
| withCSVParser | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withCSVParser(final ICSVParser icsvParser) Sets the parser to use to parse the input.
| |
| withErrorLocale | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withErrorLocale(Locale errorLocale) Sets the locale for all error messages.
| |
| withFieldAsNull | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withFieldAsNull(CSVReaderNullFieldIndicator indicator) Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
| |
| withKeepCarriageReturn | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withKeepCarriageReturn(boolean keepCR) Sets if the reader will keep or discard carriage returns.
| |
| withLineValidator | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withLineValidator(LineValidator lineValidator) Adds a
| |
| withMultilineLimit | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withMultilineLimit(int multilineLimit) Sets the maximum number of lines allowed in a multiline record. More than this number in one record results in an IOException.
| |
| withRowProcessor | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withRowProcessor(RowProcessor rowProcessor) Adds a
| |
| withRowValidator | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withRowValidator(RowValidator rowValidator) Adds a
| |
| withSkipLines | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withSkipLines(final int skipLines) Sets the number of lines to skip before reading.
| |
| withVerifyReader | back to summary |
|---|---|
| public CSVReaderHeaderAwareBuilder withVerifyReader(boolean verifyReader) Checks to see if the This should be set to false if you are using some form of asynchronous reader (like readers created by the java.nio.* classes). The default value is true.
| |