public class FmtDuration extends CellProcessorAdaptor
For example, "PT72.345S" represents 1 minute, 12 seconds and 345 milliseconds.
|Constructor and Description|
Constructs a new FmtDuration processor, which formats a Joda Duration as a String.
Constructs a new FmtDuration processor, which formats a Joda Duration as a String, then calls the next processor in the chain.
|Modifier and Type||Method and Description|
This method is invoked by the framework when the processor needs to process data or check constraints.
public Object execute(Object value, CsvContext context)
value- the value to be processed
context- the CSV context
SuperCsvCellProcessorException- if value is null or not a Duration
Copyright © 2007–2015 Super CSV. All rights reserved.