Package org.supercsv.cellprocessor.ift
Interface CellProcessor
- All Known Subinterfaces:
BoolCellProcessor
,DateCellProcessor
,DoubleCellProcessor
,LongCellProcessor
,StringCellProcessor
- All Known Implementing Classes:
AbstractTemporalAccessorFormattingProcessor
,AbstractTemporalAccessorParsingProcessor
,CellProcessorAdaptor
,CellProcessorAdaptor.NullObjectPattern
,Collector
,ConvertNullTo
,DMinMax
,Equals
,FmtBool
,FmtDate
,FmtDuration
,FmtLocalDate
,FmtLocalDateTime
,FmtLocalTime
,FmtNumber
,FmtPeriod
,FmtZonedDateTime
,FmtZoneId
,ForbidSubStr
,HashMapper
,IsElementOf
,IsIncludedIn
,LMinMax
,NotNull
,Optional
,ParseBigDecimal
,ParseBool
,ParseChar
,ParseDate
,ParseDouble
,ParseDuration
,ParseEnum
,ParseInt
,ParseLocalDate
,ParseLocalDateTime
,ParseLocalTime
,ParseLong
,ParsePeriod
,ParseZonedDateTime
,ParseZoneId
,RequireHashCode
,RequireSubStr
,Strlen
,StrMinMax
,StrNotNullOrEmpty
,StrRegEx
,StrReplace
,Token
,Trim
,Truncate
,Unique
,UniqueHashCode
public interface CellProcessor
Defines the interface of all CellProcessors.
-
Method Summary
Modifier and TypeMethodDescription<T> T
execute
(Object value, CsvContext context) This method is invoked by the framework when the processor needs to process data or check constraints.
-
Method Details
-
execute
This method is invoked by the framework when the processor needs to process data or check constraints.- Parameters:
value
- the value to be processedcontext
- the CSV context- Returns:
- the result of cell processor execution
- Since:
- 1.0
-