Package | Description |
---|---|
org.apache.james.mime4j.codec |
Modifier and Type | Method and Description |
---|---|
static EncoderUtil.Usage |
EncoderUtil.Usage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncoderUtil.Usage[] |
EncoderUtil.Usage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
EncoderUtil.encodeEncodedWord(String text,
EncoderUtil.Usage usage)
Encodes the specified text into an encoded word or a sequence of encoded
words separated by space.
|
static String |
EncoderUtil.encodeEncodedWord(String text,
EncoderUtil.Usage usage,
int usedCharacters)
Encodes the specified text into an encoded word or a sequence of encoded
words separated by space.
|
static String |
EncoderUtil.encodeEncodedWord(String text,
EncoderUtil.Usage usage,
int usedCharacters,
Charset charset,
EncoderUtil.Encoding encoding)
Encodes the specified text into an encoded word or a sequence of encoded
words separated by space.
|
static String |
EncoderUtil.encodeIfNecessary(String text,
EncoderUtil.Usage usage,
int usedCharacters)
Shortcut method that encodes the specified text into an encoded-word if
the text has to be encoded.
|
static String |
EncoderUtil.encodeQ(byte[] bytes,
EncoderUtil.Usage usage)
Encodes the specified byte array using the Q encoding defined in RFC
2047.
|
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.