public static enum EncoderUtil.Usage extends Enum<EncoderUtil.Usage>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final EncoderUtil.Usage TEXT_TOKEN
public static final EncoderUtil.Usage WORD_ENTITY
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 nameNullPointerException
- if the argument is nullCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.