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