public class PercentageFloatFieldProcessor extends Object implements FieldProcessor<Double>
| Constructor and Description |
|---|
PercentageFloatFieldProcessor(boolean pre,
String symbol,
FieldProcessor<Double> numberProcessor,
String nullValue) |
| Modifier and Type | Method and Description |
|---|---|
Double |
toObject(String text)
Prepare a value for a consumer
|
String |
toString(Double value)
Prepare a value for CSV file.
|
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 valueMetaCSVReadExceptionpublic String toString(Double value)
FieldProcessortoString in interface FieldProcessor<Double>value - the valueCopyright © 2020–2021. All rights reserved.