public class FmtInterval extends CellProcessorAdaptor
next
Constructor and Description |
---|
FmtInterval()
Constructs a new FmtInterval processor, which formats a Joda
Interval as a String.
|
FmtInterval(CellProcessor next)
Constructs a new FmtInterval processor, which formats a Joda
Interval as a String, 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 FmtInterval()
public FmtInterval(CellProcessor next)
next
- next processor in the chainNullPointerException
- if next is nullpublic Object execute(Object value, CsvContext context)
value
- the value to be processedcontext
- the CSV contextSuperCsvCellProcessorException
- if value is null or not a IntervalCopyright © 2007–2015 Super CSV. All rights reserved.