Uses of Class
org.apache.james.mime4j.codec.EncoderUtil.Usage
-
Packages that use EncoderUtil.Usage Package Description org.apache.james.mime4j.codec -
-
Uses of EncoderUtil.Usage in org.apache.james.mime4j.codec
Methods in org.apache.james.mime4j.codec that return EncoderUtil.Usage Modifier and Type Method 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.Methods in org.apache.james.mime4j.codec with parameters of type EncoderUtil.Usage Modifier and Type Method 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.
-