Modifier and Type | Field and Description |
---|---|
static DecodeMonitor |
DecodeMonitor.SILENT
The SILENT monitor ignore requests.
|
static DecodeMonitor |
DecodeMonitor.STRICT
The STRICT monitor throws an exception on every event.
|
Modifier and Type | Method and Description |
---|---|
static String |
DecoderUtil.decodeEncodedWords(String body,
DecodeMonitor monitor)
Decodes a string containing encoded words as defined by RFC 2047.
|
static String |
DecoderUtil.decodeEncodedWords(String body,
DecodeMonitor monitor,
Charset fallback)
Decodes a string containing encoded words as defined by RFC 2047.
|
Constructor and Description |
---|
Base64InputStream(InputStream in,
DecodeMonitor monitor) |
Base64InputStream(int bufsize,
InputStream in,
DecodeMonitor monitor) |
QuotedPrintableInputStream(InputStream in,
DecodeMonitor monitor) |
QuotedPrintableInputStream(int bufsize,
InputStream in,
DecodeMonitor monitor) |
Modifier and Type | Method and 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)
Sets
DecodeMonitor that will be
used to handle malformed data when executing Message.Builder.parse(java.io.InputStream) . |
Modifier and Type | Field and Description |
---|---|
protected DecodeMonitor |
AbstractField.monitor |
Modifier and Type | Method and Description |
---|---|
static ParsedField |
LenientFieldParser.parse(ByteSequence raw,
DecodeMonitor monitor)
Parses the given byte sequence and returns an instance of the
ParsedField class. |
static ParsedField |
DefaultFieldParser.parse(ByteSequence raw,
DecodeMonitor monitor)
Parses the given byte sequence and returns an instance of the
ParsedField class. |
ParsedField |
DelegatingFieldParser.parse(Field rawField,
DecodeMonitor monitor) |
static ParsedField |
LenientFieldParser.parse(String rawStr,
DecodeMonitor monitor)
Parses the given string and returns an instance of the
Field class. |
static ParsedField |
DefaultFieldParser.parse(String rawStr,
DecodeMonitor monitor)
Parses the given string and returns an instance of the
ParsedField class. |
Constructor and Description |
---|
AbstractField(Field rawField,
DecodeMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
Address |
DefaultAddressParser.parseAddress(CharSequence text,
DecodeMonitor monitor)
Parses the specified raw string into an address.
|
AddressList |
DefaultAddressParser.parseAddressList(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(CharSequence text,
DecodeMonitor monitor)
Parses the specified raw string into a group address.
|
Mailbox |
DefaultAddressParser.parseMailbox(CharSequence text,
DecodeMonitor monitor)
Parses the specified raw string into a mailbox address.
|
Constructor and Description |
---|
LenientAddressParser(DecodeMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMessageBuilder.setDecodeMonitor(DecodeMonitor monitor) |
MessageBuilder |
MessageBuilder.use(DecodeMonitor monitor)
Deprecated.
|
Constructor and Description |
---|
DefaultBodyDescriptorBuilder(String parentMimeType,
FieldParser<? extends ParsedField> fieldParser,
DecodeMonitor monitor)
Creates a new
BodyDescriptor instance. |
SimpleContentHandler(FieldParser<? extends ParsedField> fieldParser,
DecodeMonitor monitor) |
Constructor and Description |
---|
MimeStreamParser(MimeConfig config,
DecodeMonitor monitor,
BodyDescriptorBuilder bodyDescBuilder) |
Modifier and Type | Class and Description |
---|---|
class |
LoggingMonitor |
Modifier and Type | Field and Description |
---|---|
static DecodeMonitor |
LoggingMonitor.MONITOR |
Constructor and Description |
---|
StorageBodyFactory(StorageProvider storageProvider,
DecodeMonitor monitor)
Creates a new
BodyFactory instance that uses the given
storage provider for creating message bodies from input streams. |
Constructor and Description |
---|
MimeTokenStream(MimeConfig config,
DecodeMonitor monitor,
BodyDescriptorBuilder bodyDescBuilder) |
MimeTokenStream(MimeConfig config,
DecodeMonitor monitor,
FieldBuilder fieldBuilder,
BodyDescriptorBuilder bodyDescBuilder) |
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.