Class JavaToStringNumericCellStringifier
java.lang.Object
com.palantir.transforms.excel.functions.JavaToStringNumericCellStringifier
- All Implemented Interfaces:
NumericCellStringifier
,Serializable
public final class JavaToStringNumericCellStringifier
extends Object
implements NumericCellStringifier
A
NumericCellStringifier
that uses Double.toString(double)
.
The results are not always aesthetically pleasing, but this option ensures that
casting to a Double in the downstream pipeline will exactly match the original value
from the Excel.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNumericCellValueAsString
(org.apache.poi.ss.usermodel.Cell cell) Convert the value of aCell
that is known to contain a numeric value without date/time formatting to aString
.
-
Constructor Details
-
JavaToStringNumericCellStringifier
public JavaToStringNumericCellStringifier()
-
-
Method Details
-
getNumericCellValueAsString
Description copied from interface:NumericCellStringifier
Convert the value of aCell
that is known to contain a numeric value without date/time formatting to aString
. This function is applied both toCell
objects that contain a "raw" numeric value and those that contain a formula whose formula result is numeric.- Specified by:
getNumericCellValueAsString
in interfaceNumericCellStringifier
- See Also:
-