Package com.adaptris.csv
Class BasicPreferenceBuilder
java.lang.Object
com.adaptris.csv.BasicPreferenceBuilder
- All Implemented Interfaces:
PreferenceBuilder
Implementation of
PreferenceBuilder
that maps the standard super-csv formats.In the adapter configuration file this class is aliased as csv-basic-preference-builder which is the preferred alternative to the fully qualified classname when building your configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
enum representing the standard supported CSV Formats. -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.supercsv.prefs.CsvPreference
build()
Create the CSVFormat.getStyle()
void
setStyle
(BasicPreferenceBuilder.Style csvFormat)
-
Constructor Details
-
BasicPreferenceBuilder
public BasicPreferenceBuilder() -
BasicPreferenceBuilder
-
-
Method Details
-
getStyle
-
setStyle
-
build
public org.supercsv.prefs.CsvPreference build()Description copied from interface:PreferenceBuilder
Create the CSVFormat.- Specified by:
build
in interfacePreferenceBuilder
- Returns:
- the CSV Format.
-