Interface DataFormat

All Known Implementing Classes:
HSSFDataFormat, XSSFDataFormat

public interface DataFormat
  • Method Summary

    Modifier and Type
    Method
    Description
    getFormat(short index)
    get the format string that matches the given format index
    short
    getFormat(String format)
    get the format index that matches the given format string.
  • Method Details

    • getFormat

      short getFormat(String format)
      get the format index that matches the given format string. Creates a new format if one is not found. Aliases text to the proper format.
      Parameters:
      format - string matching a built in format
      Returns:
      index of format.
    • getFormat

      String getFormat(short index)
      get the format string that matches the given format index
      Parameters:
      index - of a format
      Returns:
      string represented at index of format or null if there is not a format at that index