public class ParseZoneId extends CellProcessorAdaptor
next| Constructor and Description |
|---|
ParseZoneId()
Constructs a new ParseZoneId processor, which parses a
String recognized by
ZoneId.of(String) as a ZoneId. |
ParseZoneId(CellProcessor next)
Constructs a new ParseZoneId processor, which parses a
String as a ZoneId, then calls the next processor in the
chain.
|
ParseZoneId(Map<String,String> aliasMap)
Constructs a new ParseZoneId processor, which parses a
String as a ZoneId using the supplied Zone ID mappings.
|
ParseZoneId(Map<String,String> aliasMap,
CellProcessor next)
Constructs a new ParseZoneId processor, which parses a
String as a ZoneId using the supplied Zone ID mappings, then calls the next processor in the
chain.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Object value,
CsvContext context) |
toString, validateInputNotNullpublic ParseZoneId()
ZoneId.of(String) as a ZoneId.public ParseZoneId(CellProcessor next)
next - the next processor in the chainParseZoneId()public ParseZoneId(Map<String,String> aliasMap)
aliasMap - a Map from custom zone IDs to canonical representationsZoneId.of(String, Map)public ParseZoneId(Map<String,String> aliasMap, CellProcessor next)
aliasMap - a Map from custom zone IDs to canonical representationsnext - the next processor in the chainZoneId.of(String, Map)public Object execute(Object value, CsvContext context)
SuperCsvCellProcessorException - if value is null or is not a StringCopyright © 2007-2015 Super CSV. All Rights Reserved.