public static enum CsvParser.Feature extends Enum<CsvParser.Feature> implements com.fasterxml.jackson.core.FormatFeature
| Enum Constant and Description | 
|---|
| IGNORE_TRAILING_UNMAPPABLEFeature that allows ignoring of unmappable "extra" columns; that is, values for
 columns that appear after columns for which types are defined. | 
| TRIM_SPACESFeature determines whether spaces around separator characters
 (commas) are to be automatically trimmed before being reported
 or not. | 
| WRAP_AS_ARRAYFeature that determines how stream of records (usually CSV lines, but sometimes
 multiple lines when linefeeds are included in quoted values) is exposed:
 either as a sequence of Objects (false), or as an Array of Objects (true). | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | collectDefaults()Method that calculates bit set (flags) of all features that
 are enabled by default. | 
| boolean | enabledByDefault() | 
| boolean | enabledIn(int flags) | 
| int | getMask() | 
| static CsvParser.Feature | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CsvParser.Feature[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CsvParser.Feature TRIM_SPACES
Default value is false, as per RFC-4180.
public static final CsvParser.Feature WRAP_AS_ARRAY
ObjectMapper.readValues(...)
 and array of Objects convenient when binding to Lists or
 arrays of values.
Default value is false, meaning that by default a CSV document is exposed as a sequence of root-level Object entries.
public static final CsvParser.Feature IGNORE_TRAILING_UNMAPPABLE
public static CsvParser.Feature[] values()
for (CsvParser.Feature c : CsvParser.Feature.values()) System.out.println(c);
public static CsvParser.Feature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int collectDefaults()
public boolean enabledByDefault()
enabledByDefault in interface com.fasterxml.jackson.core.FormatFeaturepublic boolean enabledIn(int flags)
enabledIn in interface com.fasterxml.jackson.core.FormatFeaturepublic int getMask()
getMask in interface com.fasterxml.jackson.core.FormatFeatureCopyright © 2016 FasterXML. All rights reserved.