public static enum TextChunk.Origin extends Enum<TextChunk.Origin>
Enum Constant and Description |
---|
ADDED
Added by a WGA encoder.
|
INPUT
Generic input string, fully encodeable.
|
Modifier and Type | Method and Description |
---|---|
static TextChunk.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextChunk.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextChunk.Origin INPUT
public static final TextChunk.Origin ADDED
public static TextChunk.Origin[] values()
for (TextChunk.Origin c : TextChunk.Origin.values()) System.out.println(c);
public static TextChunk.Origin valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null