Class FuzzyMappingStrategy<T>

Type Parameters:
T - The type of bean being processed
All Implemented Interfaces:
MappingStrategy<T>

public class FuzzyMappingStrategy<T> extends HeaderColumnNameMappingStrategy<T>
A mapping strategy that tries to make the best match between header names and non-annotated member variables.
Since:
5.0
  • Constructor Details

    • FuzzyMappingStrategy

      public FuzzyMappingStrategy()
      Nullary constructor. Considered stable.
      See Also:
    • FuzzyMappingStrategy

      public FuzzyMappingStrategy(boolean forceCorrectRecordLength)
      Constructor to allow setting options for header name mapping. Not considered stable. As new options are introduced for the mapping strategy, they will be introduced here. You are encouraged to use FuzzyMappingStrategyBuilder.
      Parameters:
      forceCorrectRecordLength - If set, every record will be shortened or lengthened to match the number of headers
      See Also:
  • Method Details