Java org.apache.poi.ss.usermodel DataFormatter fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.ss.usermodel DataFormatter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.ss.usermodel DataFormatter.

The text is from its open source code.

Subclass

org.apache.poi.ss.usermodel.DataFormatter has subclasses.
Click this link to see all its subclasses.

Constructor

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 .

Method

FormatcreateFormat(Cell cell)
Create and return a Format based on the format string from a cell's style.
StringformatCellValue(Cell cell)

Returns the formatted value of a cell as a String regardless of the cell type.

StringformatCellValue(Cell cell, FormulaEvaluator evaluator)

Returns the formatted value of a cell as a String regardless of the cell type.

StringformatRawCellContents(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.
voidsetExcelStyleRoundingMode(DecimalFormat format)
Enables excel style rounding mode (round half up) on the Decimal Format given.