[]
        
(Showing Draft Content)

SortDataOption

Enum Class SortDataOption

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

public enum SortDataOption extends Enum<SortDataOption>
Specifies how to sort text.
  • Enum Constant Details

    • TextAsNumbers

      public static final SortDataOption TextAsNumbers
      Specifies to treat text as numeric data for the sort.
    • Normal

      public static final SortDataOption Normal
      Sorts numeric and text data separately.
  • Method Details

    • values

      public static SortDataOption[] 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 SortDataOption 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