public class ParseChar extends CellProcessorAdaptor implements StringCellProcessor
next
Constructor and Description |
---|
ParseChar()
Constructs a new ParseChar processor, which converts a String to a Character.
|
ParseChar(DoubleCellProcessor next)
Constructs a new ParseChar processor, which converts a String to a Character, then calls the next
processor in the chain.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(java.lang.Object value,
CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.
|
toString, validateInputNotNull
public ParseChar()
public ParseChar(DoubleCellProcessor next)
next
- the next processor in the chainjava.lang.NullPointerException
- if next is nullpublic java.lang.Object execute(java.lang.Object value, CsvContext context)
execute
in interface CellProcessor
value
- the value to be processedcontext
- the CSV contextSuperCsvCellProcessorException
- if value is null, isn't a Character or String, or is a String of multiple charactersCopyright © 2007-2014 Super CSV. All Rights Reserved.