Package | Description |
---|---|
com.opencsv.bean |
A bean binding interface for use with opencsv.
|
Modifier and Type | Method and Description |
---|---|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withErrorLocale(Locale errorLocale)
Sets the locale for all error messages.
|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withEscapeChar(char escapeChar) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withExceptionHandler(CsvExceptionHandler exceptionHandler)
Sets the handler for recoverable exceptions raised during processing of
records.
|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withFieldAsNull(CSVReaderNullFieldIndicator indicator) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withFilter(CsvToBeanFilter filter) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withIgnoreEmptyLine(boolean ignore) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withIgnoreField(Class<?> type,
Field field)
Adds a
Field to the list of fields opencsv should ignore
completely. |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withIgnoreLeadingWhiteSpace(boolean ignoreLeadingWhiteSpace) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withIgnoreQuotations(boolean ignoreQuotations) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withKeepCarriageReturn(boolean keepCR) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withMappingStrategy(MappingStrategy<? extends T> mappingStrategy) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withMultilineLimit(int multilineLimit)
Sets the maximum number of lines allowed in a multiline record.
|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withOrderedResults(boolean orderedResults)
Sets whether the resulting beans must be ordered as in the input.
|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withProfile(String profile)
Selects a profile for deciding which configurations to use for the bean
fields.
|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withQuoteChar(char quoteChar) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withSeparator(char separator) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withSkipLines(int skipLines) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withStrictQuotes(boolean strictQuotes) |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withThrowExceptions(boolean throwExceptions)
Sets how the CsvToBean will act when an exception occurs.
|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withType(Class<? extends T> type)
Sets the type of the bean to be populated.
|
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withVerifier(BeanVerifier<T> verifier)
Adds a
BeanVerifier to the list of verifiers to run on all
beans created. |
CsvToBeanBuilder<T> |
CsvToBeanBuilder.withVerifyReader(boolean verifyReader) |
Copyright © 2005–2023. All rights reserved.