Uses of Class
org.supercsv.prefs.CsvPreference
-
Packages that use CsvPreference Package Description org.supercsv.encoder Provides the classes used for encoding CSV for writing.org.supercsv.io Provides the various readers and writers used to read/write Strings, Maps, or Objects.org.supercsv.prefs Provides the configuration classes used when instantiating readers and writers.org.supercsv.quote Provides the classes used to quote CSV for output. -
-
Uses of CsvPreference in org.supercsv.encoder
Methods in org.supercsv.encoder with parameters of type CsvPreference Modifier and Type Method Description java.lang.StringCsvEncoder. encode(java.lang.String input, CsvContext context, CsvPreference preference)Encodes a String to be written to a CSV file.java.lang.StringDefaultCsvEncoder. encode(java.lang.String input, CsvContext context, CsvPreference preference)Encodes a String to be written to a CSV file.java.lang.StringSelectiveCsvEncoder. encode(java.lang.String input, CsvContext context, CsvPreference preference)Encodes a String to be written to a CSV file. -
Uses of CsvPreference in org.supercsv.io
Fields in org.supercsv.io declared as CsvPreference Modifier and Type Field Description private CsvPreferenceAbstractCsvWriter. preferenceprivate CsvPreferenceAbstractCsvReader. preferencesprivate CsvPreferenceAbstractTokenizer. preferencesMethods in org.supercsv.io that return CsvPreference Modifier and Type Method Description protected CsvPreferenceAbstractCsvReader. getPreferences()Gets the preferences.protected CsvPreferenceAbstractTokenizer. getPreferences()Gets the CSV preferences.Constructors in org.supercsv.io with parameters of type CsvPreference Constructor Description AbstractCsvReader(java.io.Reader reader, CsvPreference preferences)Constructs a new AbstractCsvReader, using the defaultTokenizer.AbstractCsvReader(ITokenizer tokenizer, CsvPreference preferences)Constructs a new AbstractCsvReader, using a customTokenizer(which should have already been set up with the Reader, CsvPreference, and CsvContext).AbstractCsvWriter(java.io.Writer writer, CsvPreference preference)Constructs a new AbstractCsvWriter with the supplied writer and preferences.AbstractCsvWriter(java.io.Writer writer, CsvPreference preference, boolean bufferizeWriter)Constructs a new AbstractCsvWriter with the supplied writer, preferences and option to wrap the writer.AbstractTokenizer(java.io.Reader reader, CsvPreference preferences)Constructs a new AbstractTokenizer, which reads the CSV file, line by line.CsvBeanReader(java.io.Reader reader, CsvPreference preferences)Constructs a new CsvBeanReader with the supplied Reader and CSV preferences.CsvBeanReader(ITokenizer tokenizer, CsvPreference preferences)Constructs a new CsvBeanReader with the supplied (custom) Tokenizer and CSV preferences.CsvBeanWriter(java.io.Writer writer, CsvPreference preference)Constructs a new CsvBeanWriter with the supplied Writer and CSV preferences.CsvListReader(java.io.Reader reader, CsvPreference preferences)Constructs a new CsvListReader with the supplied Reader and CSV preferences.CsvListReader(ITokenizer tokenizer, CsvPreference preferences)Constructs a new CsvListReader with the supplied (custom) Tokenizer and CSV preferences.CsvListWriter(java.io.Writer writer, CsvPreference preference)Constructs a new CsvListWriter with the supplied Writer and CSV preferences.CsvMapReader(java.io.Reader reader, CsvPreference preferences)Constructs a new CsvMapReader with the supplied Reader and CSV preferences.CsvMapReader(ITokenizer tokenizer, CsvPreference preferences)Constructs a new CsvMapReader with the supplied (custom) Tokenizer and CSV preferences.CsvMapWriter(java.io.Writer writer, CsvPreference preference)Constructs a new CsvMapWriter with the supplied Writer and CSV preferences.CsvMapWriter(java.io.Writer writer, CsvPreference preference, boolean bufferizeWriter)Constructs a new CsvMapWriter with the supplied Writer, CSV preferences and option to bufferize the writer.CsvResultSetWriter(java.io.Writer writer, CsvPreference preference)Constructs a newCsvResultSetWriterwith the suppliedWriterand CSV preferences.Tokenizer(java.io.Reader reader, CsvPreference preferences)Constructs a new Tokenizer, which reads the CSV file, line by line. -
Uses of CsvPreference in org.supercsv.prefs
Fields in org.supercsv.prefs declared as CsvPreference Modifier and Type Field Description static CsvPreferenceCsvPreference. EXCEL_NORTH_EUROPE_PREFERENCEReady to use configuration for north European excel CSV files (columns are separated by ";" instead of ",")static CsvPreferenceCsvPreference. EXCEL_PREFERENCEReady to use configuration for Windows Excel exported CSV files.static CsvPreferenceCsvPreference. STANDARD_PREFERENCEReady to use configuration that should cover 99% of all usages.static CsvPreferenceCsvPreference. TAB_PREFERENCEReady to use configuration for tab-delimited files.Methods in org.supercsv.prefs that return CsvPreference Modifier and Type Method Description CsvPreferenceCsvPreference.Builder. build()Builds the CsvPreference instance.Constructors in org.supercsv.prefs with parameters of type CsvPreference Constructor Description Builder(CsvPreference preference)Constructs a Builder with all of the values from an existing CsvPreference instance. -
Uses of CsvPreference in org.supercsv.quote
Methods in org.supercsv.quote with parameters of type CsvPreference Modifier and Type Method Description booleanAlwaysQuoteMode. quotesRequired(java.lang.String csvColumn, CsvContext context, CsvPreference preference)Determines whether surrounding quotes are mandatory in cases where the CSV column would not normally be quoted (the data to be written doesn't contain special characters).booleanColumnQuoteMode. quotesRequired(java.lang.String csvColumn, CsvContext context, CsvPreference preference)Determines whether surrounding quotes are mandatory in cases where the CSV column would not normally be quoted (the data to be written doesn't contain special characters).booleanNormalQuoteMode. quotesRequired(java.lang.String csvColumn, CsvContext context, CsvPreference preference)Determines whether surrounding quotes are mandatory in cases where the CSV column would not normally be quoted (the data to be written doesn't contain special characters).booleanQuoteMode. quotesRequired(java.lang.String csvColumn, CsvContext context, CsvPreference preference)Determines whether surrounding quotes are mandatory in cases where the CSV column would not normally be quoted (the data to be written doesn't contain special characters).
-