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.UsageReturns 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.EncodingEncoderUtil.determineEncoding(byte[] bytes, EncoderUtil.Usage usage) static StringEncoderUtil.encodeEncodedWord(String text, EncoderUtil.Usage usage) Encodes the specified text into an encoded word or a sequence of encoded words separated by space.static StringEncoderUtil.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 StringEncoderUtil.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 StringEncoderUtil.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 StringEncoderUtil.encodeQ(byte[] bytes, EncoderUtil.Usage usage) Encodes the specified byte array using the Q encoding defined in RFC 2047.private static StringEncoderUtil.encodeQ(String prefix, String text, EncoderUtil.Usage usage, int usedCharacters, Charset charset, byte[] bytes) private static intEncoderUtil.qEncodedLength(byte[] bytes, EncoderUtil.Usage usage)