|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EncoderUtil.Usage>
us.monoid.util.EncoderUtil.Usage
public static enum EncoderUtil.Usage
Indicates the intended usage of an encoded word.
Enum Constant Summary | |
---|---|
TEXT_TOKEN
Encoded word is used to replace a 'text' token in any Subject or Comments header field. |
|
WORD_ENTITY
Encoded word is used to replace a 'word' entity within a 'phrase', for example, one that precedes an address in a From, To, or Cc header. |
Method Summary | |
---|---|
static EncoderUtil.Usage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EncoderUtil.Usage[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EncoderUtil.Usage TEXT_TOKEN
public static final EncoderUtil.Usage WORD_ENTITY
Method Detail |
---|
public static EncoderUtil.Usage[] values()
for (EncoderUtil.Usage c : EncoderUtil.Usage.values()) System.out.println(c);
public static EncoderUtil.Usage valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |