Enum UserCodeCharset

    • Enum Constant Detail

      • BASE20

        public static final UserCodeCharset BASE20
        "BCDFGHJKLMNPQRSTVWXZ", 20 upper-case non-vowel characters.
      • NUMERIC

        public static final UserCodeCharset NUMERIC
        "0123456789", 10 digit characters from '0' to '9'.
    • Method Detail

      • values

        public static UserCodeCharset[] 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 (UserCodeCharset c : UserCodeCharset.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserCodeCharset 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
      • getValue

        public short getValue()
        Get the integer representation of this enum instance.
      • getByValue

        public static UserCodeCharset getByValue​(short value)
        Find an instance of this enum by a value.
        value - The integer representation of the instance to find.
        An instance of this enum, or null if not found.
      • getCharacters

        public String getCharacters()
        Get the characters in this characters set.
        A string that contains characters in this character set.