public class BooleanFieldProcessor extends Object implements FieldProcessor<Boolean>
| Constructor and Description |
|---|
BooleanFieldProcessor(String trueWord,
String falseWord,
String nullValue) |
public Boolean toObject(String text) throws MetaCSVReadException
FieldProcessortoObject in interface FieldProcessor<Boolean>text - the CSV valueMetaCSVReadException - if the text can't be converted to a T value.public String toString(Boolean value)
FieldProcessortoString in interface FieldProcessor<Boolean>value - the valuepublic Boolean cast(Object o)
FieldProcessorcast in interface FieldProcessor<Boolean>o - the objectCopyright © 2020–2021. All rights reserved.