Class TikaExcelDataFormatter


  • public class TikaExcelDataFormatter
    extends org.apache.poi.ss.usermodel.DataFormatter
    Overrides Excel's General format to include more significant digits than the MS Spec allows. See TIKA-2025.
    • Constructor Detail

      • TikaExcelDataFormatter

        public TikaExcelDataFormatter()
      • TikaExcelDataFormatter

        public TikaExcelDataFormatter​(Locale locale)
    • Method Detail

      • formatRawCellContents

        public String formatRawCellContents​(double value,
                                            int formatIndex,
                                            String formatString,
                                            boolean use1904Windowing)
        Overrides:
        formatRawCellContents in class org.apache.poi.ss.usermodel.DataFormatter
      • setDateFormatOverride

        public void setDateFormatOverride​(String dateOverrideFormat)