CellProcessor
Collector
, ConvertNullTo
, DMinMax
, Equals
, FmtBool
, FmtDate
, FmtNumber
, ForbidSubStr
, HashMapper
, IsElementOf
, IsIncludedIn
, LMinMax
, NotNull
, ParseBigDecimal
, ParseBool
, ParseChar
, ParseDate
, ParseDouble
, ParseEnum
, ParseInt
, ParseLong
, RequireHashCode
, RequireSubStr
, Strlen
, StrMinMax
, StrNotNullOrEmpty
, StrRegEx
, StrReplace
, Token
, Trim
, Truncate
, Unique
, UniqueHashCode
public abstract class CellProcessorAdaptor extends Object implements CellProcessor
Modifier and Type | Field | Description |
---|---|---|
protected CellProcessor |
next |
the next processor in the chain
|
Modifier | Constructor | Description |
---|---|---|
protected |
CellProcessorAdaptor() |
Constructor used by CellProcessors to indicate that they are the last processor in the chain.
|
protected |
CellProcessorAdaptor(CellProcessor next) |
Constructor used by CellProcessors that require CellProcessor chaining (further processing is required).
|
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
Returns the CellProccessor's fully qualified class name.
|
protected void |
validateInputNotNull(Object value,
CsvContext context) |
Checks that the input value is not null, throwing a NullInputException if it is.
|
execute
protected final CellProcessor next
protected CellProcessorAdaptor()
protected CellProcessorAdaptor(CellProcessor next)
next
- the next CellProcessor in the chainNullPointerException
- if next is nullprotected void validateInputNotNull(Object value, CsvContext context)
value
- the input valuecontext
- the CSV contextSuperCsvCellProcessorException
- if value is nullCopyright © 2007–2018 Super CSV. All rights reserved.