Uses of Class
org.apache.james.mime4j.codec.DecodeMonitor
-
-
Uses of DecodeMonitor in org.apache.james.mime4j.codec
Fields in org.apache.james.mime4j.codec declared as DecodeMonitor Modifier and Type Field Description private DecodeMonitor
Base64InputStream. monitor
private DecodeMonitor
QuotedPrintableInputStream. monitor
static DecodeMonitor
DecodeMonitor. SILENT
The SILENT monitor ignore requests.static DecodeMonitor
DecodeMonitor. STRICT
The STRICT monitor throws an exception on every event.Methods in org.apache.james.mime4j.codec with parameters of type DecodeMonitor Modifier and Type Method Description (package private) static java.lang.String
DecoderUtil. decodeB(java.lang.String encodedText, java.lang.String charset, DecodeMonitor monitor)
Decodes an encoded text encoded with the 'B' encoding (described in RFC 2047) found in a header field body.private static byte[]
DecoderUtil. decodeBase64(java.lang.String s, DecodeMonitor monitor)
Decodes a string containing base64 encoded data.static java.lang.String
DecoderUtil. decodeEncodedWords(java.lang.String body, DecodeMonitor monitor)
Decodes a string containing encoded words as defined by RFC 2047.static java.lang.String
DecoderUtil. decodeEncodedWords(java.lang.String body, DecodeMonitor monitor, java.nio.charset.Charset fallback)
Decodes a string containing encoded words as defined by RFC 2047.static java.lang.String
DecoderUtil. decodeEncodedWords(java.lang.String body, DecodeMonitor monitor, java.nio.charset.Charset fallback, java.util.Map<java.nio.charset.Charset,java.nio.charset.Charset> charsetOverrides)
Decodes a string containing encoded words as defined by RFC 2047.(package private) static java.lang.String
DecoderUtil. decodeQ(java.lang.String encodedText, java.lang.String charset, DecodeMonitor monitor)
Decodes an encoded text encoded with the 'Q' encoding (described in RFC 2047) found in a header field body.private static byte[]
DecoderUtil. decodeQuotedPrintable(java.lang.String s, DecodeMonitor monitor)
Decodes a string containing quoted-printable encoded data.private static void
DecoderUtil. monitor(DecodeMonitor monitor, java.lang.String mimeCharset, java.lang.String encoding, java.lang.String encodedText, java.lang.String dropDesc, java.lang.String... strings)
private static java.lang.String
DecoderUtil. tryDecodeEncodedWord(java.lang.String mimeCharset, java.lang.String encoding, java.lang.String encodedText, DecodeMonitor monitor, java.nio.charset.Charset fallback, java.util.Map<java.nio.charset.Charset,java.nio.charset.Charset> charsetOverrides)
Constructors in org.apache.james.mime4j.codec with parameters of type DecodeMonitor Constructor Description Base64InputStream(int bufsize, java.io.InputStream in, DecodeMonitor monitor)
Base64InputStream(java.io.InputStream in, DecodeMonitor monitor)
QuotedPrintableInputStream(int bufsize, java.io.InputStream in, DecodeMonitor monitor)
QuotedPrintableInputStream(java.io.InputStream in, DecodeMonitor monitor)
-
Uses of DecodeMonitor in org.apache.james.mime4j.dom
Fields in org.apache.james.mime4j.dom declared as DecodeMonitor Modifier and Type Field Description private DecodeMonitor
Message.Builder. monitor
Methods in org.apache.james.mime4j.dom with parameters of type DecodeMonitor Modifier and Type Method Description T
FieldParser. parse(Field rawField, DecodeMonitor monitor)
Parses raw (unstructured) field and converts it into a structured field.Message.Builder
Message.Builder. use(DecodeMonitor monitor)
SetsDecodeMonitor
that will be used to handle malformed data when executingMessage.Builder.parse(java.io.InputStream)
. -
Uses of DecodeMonitor in org.apache.james.mime4j.field
Fields in org.apache.james.mime4j.field declared as DecodeMonitor Modifier and Type Field Description protected DecodeMonitor
AbstractField. monitor
Methods in org.apache.james.mime4j.field with parameters of type DecodeMonitor Modifier and Type Method Description static ParsedField
DefaultFieldParser. parse(java.lang.String rawStr, DecodeMonitor monitor)
Parses the given string and returns an instance of theParsedField
class.static ParsedField
DefaultFieldParser. parse(ByteSequence raw, DecodeMonitor monitor)
Parses the given byte sequence and returns an instance of theParsedField
class.ParsedField
DelegatingFieldParser. parse(Field rawField, DecodeMonitor monitor)
static ParsedField
LenientFieldParser. parse(java.lang.String rawStr, DecodeMonitor monitor)
Parses the given string and returns an instance of theField
class.static ParsedField
LenientFieldParser. parse(ByteSequence raw, DecodeMonitor monitor)
Parses the given byte sequence and returns an instance of theParsedField
class. -
Uses of DecodeMonitor in org.apache.james.mime4j.field.address
Fields in org.apache.james.mime4j.field.address declared as DecodeMonitor Modifier and Type Field Description private DecodeMonitor
LenientAddressParser. monitor
Methods in org.apache.james.mime4j.field.address with parameters of type DecodeMonitor Modifier and Type Method Description Address
Builder. buildAddress(ASTaddress node, DecodeMonitor monitor)
AddressList
Builder. buildAddressList(ASTaddress_list node, DecodeMonitor monitor)
private MailboxList
Builder. buildGroupBody(ASTgroup_body node, DecodeMonitor monitor)
Mailbox
Builder. buildMailbox(ASTmailbox node, DecodeMonitor monitor)
private Mailbox
Builder. buildNameAddr(ASTname_addr node, DecodeMonitor monitor)
Address
DefaultAddressParser. parseAddress(java.lang.CharSequence text, DecodeMonitor monitor)
Parses the specified raw string into an address.AddressList
DefaultAddressParser. parseAddressList(java.lang.CharSequence text, DecodeMonitor monitor)
Parse the address list string, such as the value of a From, To, Cc, Bcc, Sender, or Reply-To header.Group
DefaultAddressParser. parseGroup(java.lang.CharSequence text, DecodeMonitor monitor)
Parses the specified raw string into a group address.Mailbox
DefaultAddressParser. parseMailbox(java.lang.CharSequence text, DecodeMonitor monitor)
Parses the specified raw string into a mailbox address.Constructors in org.apache.james.mime4j.field.address with parameters of type DecodeMonitor Constructor Description LenientAddressParser(DecodeMonitor monitor)
-
Uses of DecodeMonitor in org.apache.james.mime4j.message
Fields in org.apache.james.mime4j.message declared as DecodeMonitor Modifier and Type Field Description private DecodeMonitor
MessageServiceFactoryImpl. decodeMonitor
private DecodeMonitor
DefaultBodyDescriptorBuilder. monitor
private DecodeMonitor
DefaultMessageBuilder. monitor
private DecodeMonitor
SimpleContentHandler. monitor
Methods in org.apache.james.mime4j.message with parameters of type DecodeMonitor Modifier and Type Method Description void
DefaultMessageBuilder. setDecodeMonitor(DecodeMonitor monitor)
MessageBuilder
MessageBuilder. use(DecodeMonitor monitor)
Deprecated.Constructors in org.apache.james.mime4j.message with parameters of type DecodeMonitor Constructor Description DefaultBodyDescriptorBuilder(java.lang.String parentMimeType, FieldParser<? extends ParsedField> fieldParser, DecodeMonitor monitor)
Creates a newBodyDescriptor
instance.SimpleContentHandler(FieldParser<? extends ParsedField> fieldParser, DecodeMonitor monitor)
-
Uses of DecodeMonitor in org.apache.james.mime4j.parser
Constructors in org.apache.james.mime4j.parser with parameters of type DecodeMonitor Constructor Description MimeStreamParser(MimeConfig config, DecodeMonitor monitor, BodyDescriptorBuilder bodyDescBuilder)
-
Uses of DecodeMonitor in org.apache.james.mime4j.samples.dom
Subclasses of DecodeMonitor in org.apache.james.mime4j.samples.dom Modifier and Type Class Description class
LoggingMonitor
Fields in org.apache.james.mime4j.samples.dom declared as DecodeMonitor Modifier and Type Field Description static DecodeMonitor
LoggingMonitor. MONITOR
-
Uses of DecodeMonitor in org.apache.james.mime4j.storage
Fields in org.apache.james.mime4j.storage declared as DecodeMonitor Modifier and Type Field Description private DecodeMonitor
StorageBodyFactory. monitor
Methods in org.apache.james.mime4j.storage with parameters of type DecodeMonitor Modifier and Type Method Description private static java.nio.charset.Charset
StorageBodyFactory. toJavaCharset(java.lang.String mimeCharset, boolean forEncoding, DecodeMonitor monitor)
Constructors in org.apache.james.mime4j.storage with parameters of type DecodeMonitor Constructor Description StorageBodyFactory(StorageProvider storageProvider, DecodeMonitor monitor)
Creates a newBodyFactory
instance that uses the given storage provider for creating message bodies from input streams. -
Uses of DecodeMonitor in org.apache.james.mime4j.stream
Fields in org.apache.james.mime4j.stream declared as DecodeMonitor Modifier and Type Field Description private DecodeMonitor
FallbackBodyDescriptorBuilder. monitor
private DecodeMonitor
MimeEntity. monitor
private DecodeMonitor
MimeTokenStream. monitor
Constructors in org.apache.james.mime4j.stream with parameters of type DecodeMonitor Constructor Description FallbackBodyDescriptorBuilder(java.lang.String parentMimeType, DecodeMonitor monitor)
Creates a newBodyDescriptor
instance.MimeEntity(LineNumberSource lineSource, java.io.InputStream instream, MimeConfig config, EntityState startState, EntityState endState, DecodeMonitor monitor, FieldBuilder fieldBuilder, BodyDescriptorBuilder bodyDescBuilder)
MimeTokenStream(MimeConfig config, DecodeMonitor monitor, BodyDescriptorBuilder bodyDescBuilder)
MimeTokenStream(MimeConfig config, DecodeMonitor monitor, FieldBuilder fieldBuilder, BodyDescriptorBuilder bodyDescBuilder)
-