public class ObjectToCellValueConverter extends Object implements ToCellValueConverter
| Constructor and Description |
|---|
ObjectToCellValueConverter(String currency)
Create a new converter
|
| Modifier and Type | Method and Description |
|---|---|
CellValue |
from(CellType type,
Object o)
Converts a value to a CellValue
|
CellValue |
from(Object o)
Converts a value to a CellValue
|
public ObjectToCellValueConverter(String currency)
currency - the currency for currency valuespublic CellValue from(Object o)
ToCellValueConverterfrom in interface ToCellValueConvertero - the valuepublic CellValue from(CellType type, Object o) throws FastOdsException
ToCellValueConverterfrom in interface ToCellValueConvertertype - a hinto - the valueFastOdsException - if the cast was not possibleCopyright © 2016–2021. All rights reserved.