public class ParsePeriod extends CellProcessorAdaptor
Period.parse(CharSequence).
For example, "P6Y3M7D" represents 6 years, 3 months, 7 days.next| Constructor and Description |
|---|
ParsePeriod()
Constructs a new ParsePeriod processor, which parses a String as
a Period.
|
ParsePeriod(CellProcessor next)
Constructs a new ParsePeriod processor, which parses a String as
a Period, then calls the next processor in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Object value,
CsvContext context) |
toString, validateInputNotNullpublic ParsePeriod()
public ParsePeriod(CellProcessor next)
next - the next processor in the chainNullPointerException - if next is nullpublic Object execute(Object value, CsvContext context)
SuperCsvCellProcessorException - if value is null or is not a StringCopyright © 2007-2015 Super CSV. All Rights Reserved.