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