public class ParseInterval extends CellProcessorAdaptor
next
Constructor and Description |
---|
ParseInterval()
Constructs a new ParseInterval processor, which parses a String
as a Joda Interval.
|
ParseInterval(CellProcessor next)
Constructs a new ParseInterval processor, which parses a String
as a Joda Interval, then calls the next processor in the chain.
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(Object value,
CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.
|
toString, validateInputNotNull
public ParseInterval()
public ParseInterval(CellProcessor next)
next
- the next processor in the chainpublic Object execute(Object value, CsvContext context)
value
- the value to be processedcontext
- the CSV contextSuperCsvCellProcessorException
- if value is null or is not a StringCopyright © 2007–2015 Super CSV. All rights reserved.