Enum Constant and Description |
---|
APPLICATION |
CONTEXT_SPECIFIC |
PRIVATE |
UNIVERSAL |
Modifier and Type | Method and Description |
---|---|
static TLVClass |
valueOf(byte firstByte) |
static TLVClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TLVClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLVClass UNIVERSAL
public static final TLVClass APPLICATION
public static final TLVClass CONTEXT_SPECIFIC
public static final TLVClass PRIVATE
public static TLVClass[] values()
for (TLVClass c : TLVClass.values()) System.out.println(c);
public static TLVClass 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 nullpublic static TLVClass valueOf(byte firstByte)