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 |
|---|---|
Object |
execute(Object value,
CsvContext context)
This method is invoked by the framework when the processor needs to process data or check constraints.
|
toString, validateInputNotNullpublic ParseChar()
public ParseChar(DoubleCellProcessor next)
next - the next processor in the chainNullPointerException - if next is nullpublic Object execute(Object value, CsvContext context)
execute in interface CellProcessorvalue - 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-2015 Super CSV. All Rights Reserved.