Enum Class ParsedValue.Kind

java.lang.Object
java.lang.Enum<ParsedValue.Kind>
io.keikai.axyra.sheets.format.ParsedValue.Kind
All Implemented Interfaces:
Serializable, Comparable<ParsedValue.Kind>, Constable
Enclosing class:
ParsedValue

public static enum ParsedValue.Kind extends Enum<ParsedValue.Kind>
The input classes Excel distinguishes when text is typed into a cell.
  • Enum Constant Details

    • NUMBER

      public static final ParsedValue.Kind NUMBER
      A number, including percentages, fractions, currency and scientific notation.
    • DATE

      public static final ParsedValue.Kind DATE
      A date or time; number() holds the Excel serial.
    • BOOL

      public static final ParsedValue.Kind BOOL
      TRUE or FALSE, in any letter case; number() is 1.0 or 0.0.
    • TEXT

      public static final ParsedValue.Kind TEXT
      Anything else, kept as text.
    • FORMULA

      public static final ParsedValue.Kind FORMULA
      Input that starts with = after leading spaces.
  • Method Details

    • values

      public static ParsedValue.Kind[] 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 ParsedValue.Kind 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