Class DefaultDataFormatter

java.lang.Object
org.apache.poi.ss.usermodel.DataFormatter
com.gsitm.ustra.java.data.poi.convert.DefaultDataFormatter
All Implemented Interfaces:
Observer

public class DefaultDataFormatter extends org.apache.poi.ss.usermodel.DataFormatter
cell의 컨텐츠가 date 유형일 때 기본 포맷을 yyyy-mm-dd 유형으로 변경하는 formatter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    formatRawCellContents(double value, int formatIndex, String formatString, boolean use1904Windowing)
     

    Methods inherited from class org.apache.poi.ss.usermodel.DataFormatter

    addFormat, createFormat, formatCellValue, formatCellValue, formatCellValue, formatRawCellContents, getDefaultFormat, getLocaleChangedObservable, setDefaultNumberFormat, setExcelStyleRoundingMode, setExcelStyleRoundingMode, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultDataFormatter

      public DefaultDataFormatter()
  • Method Details

    • formatRawCellContents

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