Enum CellType

    • Enum Constant Detail

      • _NONE

        @Internal(since="POI 3.15 beta 3")
        public static final CellType _NONE
        Unknown type, used to represent a state prior to initialization or the lack of a concrete type. For internal use only.
      • NUMERIC

        public static final CellType NUMERIC
        Numeric cell type (whole numbers, fractional numbers, dates)
      • STRING

        public static final CellType STRING
        String (text) cell type
      • BLANK

        public static final CellType BLANK
        Blank cell type
      • BOOLEAN

        public static final CellType BOOLEAN
        Boolean cell type
    • Method Detail

      • values

        public static CellType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CellType c : CellType.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public static CellType forInt​(int code)
        POI 3.15 beta 3. Used to transition code from ints to CellTypes.
        POI 3.15 beta 3.
      • getCode

        public int getCode()
        POI 3.15 beta 3
        POI 3.15 beta 3