public static enum Utils_String.HexOption extends java.lang.Enum<Utils_String.HexOption>
Enum Constant and Description |
---|
ADD_PRECEDING_ZERO
Tells
Utils_String.hexStringToBytes(String, HexOption...) that it should allow odd count hex strings, and to prepend a 0 to make
them a compliant hex string. |
ALLOW_HEX_PREFIX
Tells
Utils_String.hexStringToBytes(String, HexOption...) that it should allow the standard hex prefix of 0x, which will
just get stripped out. |
ALLOW_LOWERCASE
Tells the
Utils_String.hexStringToBytes(String, HexOption...) method that it should accept hex strings
in lower case. |
ALLOW_SPACES
Tells
Utils_String.hexStringToBytes(String, HexOption...) that it should allow spaces in the string. |
Modifier and Type | Method and Description |
---|---|
static Utils_String.HexOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Utils_String.HexOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utils_String.HexOption ALLOW_LOWERCASE
Utils_String.hexStringToBytes(String, HexOption...)
method that it should accept hex strings
in lower case.public static final Utils_String.HexOption ALLOW_SPACES
Utils_String.hexStringToBytes(String, HexOption...)
that it should allow spaces in the string.public static final Utils_String.HexOption ALLOW_HEX_PREFIX
Utils_String.hexStringToBytes(String, HexOption...)
that it should allow the standard hex prefix of 0x, which will
just get stripped out.public static final Utils_String.HexOption ADD_PRECEDING_ZERO
Utils_String.hexStringToBytes(String, HexOption...)
that it should allow odd count hex strings, and to prepend a 0 to make
them a compliant hex string.public static Utils_String.HexOption[] values()
for (Utils_String.HexOption c : Utils_String.HexOption.values()) System.out.println(c);
public static Utils_String.HexOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null