HeaderColumnNameMappingStrategy.
This allows opencsv to introduce new options for mapping strategies
while maintaining backward compatibility and without creating
reams of constructors for the mapping strategy.
| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HeaderColumnNameMappingStrategy | build()
Implements abstract com. Builds a new mapping strategy for parsing/writing. |
| public HeaderColumnNameMappingStrategyBuilder | Returns: thisWhether records should be forced to
the correct length forceCorrectRecordLength)Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header). |
| forceCorrectRecordLength | back to summary |
|---|---|
| private boolean forceCorrectRecordLength | |
| HeaderColumnNameMappingStrategyBuilder | back to summary |
|---|---|
| public HeaderColumnNameMappingStrategyBuilder() Default constructor. | |
| build | back to summary |
|---|---|
| public HeaderColumnNameMappingStrategy Implements abstract com. Doc from com. Builds a new mapping strategy for parsing/writing.
| |
| withForceCorrectRecordLength | back to summary |
|---|---|
| public HeaderColumnNameMappingStrategyBuilder Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header). Excess fields at the end of a record will be ignored. Missing
fields at the end of a record will be interpreted as If not set, incorrect record length will throw an exception. That
is, the default value is
| |