Uses of Enum
org.apache.james.mime4j.codec.EncoderUtil.Usage
Packages that use EncoderUtil.Usage
-
Uses of EncoderUtil.Usage in org.apache.james.mime4j.codec
Methods in org.apache.james.mime4j.codec that return EncoderUtil.UsageModifier and TypeMethodDescriptionstatic EncoderUtil.Usage
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.UsageModifier and TypeMethodDescriptionprivate static EncoderUtil.Encoding
EncoderUtil.determineEncoding
(byte[] bytes, EncoderUtil.Usage usage) 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.private static String
EncoderUtil.encodeQ
(String prefix, String text, EncoderUtil.Usage usage, int usedCharacters, Charset charset, byte[] bytes) private static int
EncoderUtil.qEncodedLength
(byte[] bytes, EncoderUtil.Usage usage)