public class FmtZoneId extends CellProcessorAdaptor
ZoneId.toString()
.next
Constructor and Description |
---|
FmtZoneId()
Constructs a new FmtZoneId processor, which formats a
ZoneId as a String.
|
FmtZoneId(CellProcessor next)
Constructs a new FmtZoneId processor, which formats a
ZoneId as a String, then calls the next processor in the chain.
|
FmtZoneId(TextStyle textStyle,
Locale locale)
Constructs a new FmtZoneId processor, which formats a
ZoneId as String, then calls the next processor in the chain.
|
FmtZoneId(TextStyle textStyle,
Locale locale,
CellProcessor next)
Constructs a new FmtZoneId processor, which formats a
ZoneId as 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 FmtZoneId()
public FmtZoneId(CellProcessor next)
next
- next processor in the chainNullPointerException
- if next is nullpublic FmtZoneId(TextStyle textStyle, Locale locale)
textStyle
- the TextStyle to use for formattinglocale
- the Locale to use for formattingNullPointerException
- if either textStyle or locale is nullpublic FmtZoneId(TextStyle textStyle, Locale locale, CellProcessor next)
textStyle
- the TextStyle to use for formattinglocale
- the Locale to use for formattingnext
- next processor in the chainNullPointerException
- if any argument is nullpublic Object execute(Object value, CsvContext context)
value
- the value to be processedcontext
- the CSV contextSuperCsvCellProcessorException
- if value is null or not a ZoneIdCopyright © 2007–2015 Super CSV. All rights reserved.