Uses of Class
org.supercsv.util.CsvContext
-
Packages that use CsvContext Package Description org.supercsv.cellprocessor Provides CellProcessor classes for conversion, formatting and parsing.org.supercsv.cellprocessor.constraint Provides CellProcessor classes for enforcing constraints.org.supercsv.cellprocessor.ift Provides CellProcessor interfaces, used to control/restrict how processors can be chained together.org.supercsv.encoder Provides the classes used for encoding CSV for writing.org.supercsv.exception Provides the exceptions that may be thrown by Super CSV.org.supercsv.quote Provides the classes used to quote CSV for output.org.supercsv.util Provides the utility classes used by Super CSV. -
-
Uses of CsvContext in org.supercsv.cellprocessor
Methods in org.supercsv.cellprocessor with parameters of type CsvContext Modifier and Type Method Description java.lang.Object
Collector. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ConvertNullTo. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
FmtBool. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
FmtDate. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
FmtNumber. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
HashMapper. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseBigDecimal. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseBool. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseChar. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseDate. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseDouble. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseEnum. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseInt. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ParseLong. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
StrReplace. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
Token. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
Trim. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
Truncate. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.protected void
CellProcessorAdaptor. validateInputNotNull(java.lang.Object value, CsvContext context)
Checks that the input value is not null, throwing a NullInputException if it is. -
Uses of CsvContext in org.supercsv.cellprocessor.constraint
Methods in org.supercsv.cellprocessor.constraint with parameters of type CsvContext Modifier and Type Method Description java.lang.Object
DMinMax. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
Equals. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
ForbidSubStr. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
IsElementOf. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
IsIncludedIn. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
LMinMax. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
NotNull. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
RequireHashCode. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
RequireSubStr. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
Strlen. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
StrMinMax. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
StrNotNullOrEmpty. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
StrRegEx. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
Unique. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.java.lang.Object
UniqueHashCode. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints. -
Uses of CsvContext in org.supercsv.cellprocessor.ift
Methods in org.supercsv.cellprocessor.ift with parameters of type CsvContext Modifier and Type Method Description <T> T
CellProcessor. execute(java.lang.Object value, CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints. -
Uses of CsvContext in org.supercsv.encoder
Methods in org.supercsv.encoder with parameters of type CsvContext Modifier and Type Method Description java.lang.String
CsvEncoder. encode(java.lang.String input, CsvContext context, CsvPreference preference)
Encodes a String to be written to a CSV file.java.lang.String
DefaultCsvEncoder. encode(java.lang.String input, CsvContext context, CsvPreference preference)
Encodes a String to be written to a CSV file.java.lang.String
SelectiveCsvEncoder. encode(java.lang.String input, CsvContext context, CsvPreference preference)
Encodes a String to be written to a CSV file. -
Uses of CsvContext in org.supercsv.exception
Methods in org.supercsv.exception that return CsvContext Modifier and Type Method Description CsvContext
SuperCsvException. getCsvContext()
Gets the current CSV context.Constructors in org.supercsv.exception with parameters of type CsvContext Constructor Description SuperCsvCellProcessorException(java.lang.Class<?> expectedType, java.lang.Object actualValue, CsvContext context, CellProcessor processor)
Constructs a new SuperCsvCellProcessorException to indicate that the value received by a CellProcessor wasn't of the correct type.SuperCsvCellProcessorException(java.lang.String msg, CsvContext context, CellProcessor processor)
Constructs a new SuperCsvCellProcessorException.SuperCsvCellProcessorException(java.lang.String msg, CsvContext context, CellProcessor processor, java.lang.Throwable t)
Constructs a new SuperCsvCellProcessorException.SuperCsvConstraintViolationException(java.lang.String msg, CsvContext context, CellProcessor processor)
Constructs a new SuperCsvConstraintViolationException.SuperCsvConstraintViolationException(java.lang.String msg, CsvContext context, CellProcessor processor, java.lang.Throwable t)
Constructs a new SuperCsvConstraintViolationException.SuperCsvException(java.lang.String msg, CsvContext context)
Constructs a new SuperCsvException.SuperCsvException(java.lang.String msg, CsvContext context, java.lang.Throwable t)
Constructs a new SuperCsvException. -
Uses of CsvContext in org.supercsv.quote
Methods in org.supercsv.quote with parameters of type CsvContext Modifier and Type Method Description boolean
AlwaysQuoteMode. 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).boolean
ColumnQuoteMode. 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).boolean
NormalQuoteMode. 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).boolean
QuoteMode. 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). -
Uses of CsvContext in org.supercsv.util
Constructors in org.supercsv.util with parameters of type CsvContext Constructor Description CsvContext(CsvContext c)
Constructs a new CsvContext that is a copy of the provided CsvContext.
-