[]
        
立即试用
(Showing Draft Content)

OpenFileFormat

Enum Class OpenFileFormat

java.lang.Object
java.lang.Enum<OpenFileFormat>
com.grapecity.documents.excel.OpenFileFormat
All Implemented Interfaces:
Serializable, Comparable<OpenFileFormat>, Constable

public enum OpenFileFormat extends Enum<OpenFileFormat>
代表打开工作簿的格式。
  • Enum Constant Details

    • Xlsx

      public static final OpenFileFormat Xlsx
      表示一个xlsx文件。
    • Csv

      public static final OpenFileFormat Csv
      表示一个csv文件。
    • Xlsm

      public static final OpenFileFormat Xlsm
      代表一个xlsm文件。
    • Xltx

      public static final OpenFileFormat Xltx
      表示一个 xltx 文件。
    • Sjs

      public static final OpenFileFormat Sjs
      表示一个SpreadJS .sjs文件。
  • Method Details

    • values

      public static OpenFileFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OpenFileFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null