public static enum SpiConstants.ContentEncoding extends java.lang.Enum<SpiConstants.ContentEncoding>
Enum Constant and Description |
---|
BASE64BINARY |
BASE64COMPRESSED |
ERROR |
Modifier and Type | Method and Description |
---|---|
static SpiConstants.ContentEncoding |
findContentEncoding(java.lang.String tag) |
java.lang.String |
toString() |
static SpiConstants.ContentEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpiConstants.ContentEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpiConstants.ContentEncoding BASE64BINARY
public static final SpiConstants.ContentEncoding BASE64COMPRESSED
public static final SpiConstants.ContentEncoding ERROR
public static SpiConstants.ContentEncoding[] values()
for (SpiConstants.ContentEncoding c : SpiConstants.ContentEncoding.values()) System.out.println(c);
public static SpiConstants.ContentEncoding 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 SpiConstants.ContentEncoding findContentEncoding(java.lang.String tag)
tag
.
ContentEncoding.ERROR
will be returned if the given
tag
does not match a known ContentEncoding
.public java.lang.String toString()
toString
in class java.lang.Enum<SpiConstants.ContentEncoding>