Example usage for Java org.apache.poi.ss.usermodel DataFormatter fields, constructors, methods, implement or subclass
The text is from its open source code.
DataFormatter(boolean emulateCSV) Creates a formatter using the Locale#getDefault() default locale . | |
DataFormatter(Locale locale) Creates a formatter using the given locale. | |
DataFormatter() Creates a formatter using the Locale#getDefault() default locale . |
Format | createFormat(Cell cell) Create and return a Format based on the format string from a cell's style. |
String | formatCellValue(Cell cell) Returns the formatted value of a cell as a String regardless of the cell type. |
String | formatCellValue(Cell cell, FormulaEvaluator evaluator) Returns the formatted value of a cell as a String regardless of the cell type. |
String | formatRawCellContents(double value, int formatIndex, String formatString) Formats the given raw cell value, based on the supplied format index and string, according to excel style rules. |
void | setExcelStyleRoundingMode(DecimalFormat format) Enables excel style rounding mode (round half up) on the Decimal Format given. |