public class FmtDuration extends CellProcessorAdaptor
next| Constructor and Description |
|---|
FmtDuration()
Constructs a new FmtDuration processor, which formats a
Duration as a String in the ISO 8601 duration format,
in the same way as
Duration.toString() |
FmtDuration(CellProcessor next)
Constructs a new FmtDuration processor, which formats a
Duration as a String, then calls the next processor in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Object value,
CsvContext context) |
toString, validateInputNotNullpublic FmtDuration()
Duration.toString()Duration.toString()public FmtDuration(CellProcessor next)
next - next processor in the chainNullPointerException - if next is nullpublic Object execute(Object value, CsvContext context)
SuperCsvCellProcessorException - if value is null or not a DurationCopyright © 2007-2015 Super CSV. All Rights Reserved.