All Classes and Interfaces

Class
Description
Abstract base class for custom ContentHandler implementations.
Abstract MIME entity.
 
The base class of all field classes.
Abstract MIME header.
Abstract MIME message.
Abstract MIME multipart body.
Abstract implementation of StorageProvider that implements store(InputStream) by copying the input stream to a StorageOutputStream obtained from createStorageOutputStream().
The abstract base for classes that represent RFC2822 addresses.
Default formatter for Address and its subclasses.
An immutable, random-access list of Address objects.
 
Address list field such as To or Reply-To.
Address list field such as To or Reply-To.
 
 
 
Token literal values and constants.
 
Token Manager.
 
 
Abstract address parser.
 
 
 
 
 
 
 
 
 
 
 
Performs Base-64 decoding on an underlying stream.
 
This class implements section 6.8.
 
 
 
 
Factory for creating message bodies.
 
 
 
 
 
 
A body containing binary data.
InputStream backed by byte array.
A body of an MIME entity (as defined in RFC 2045).
A descriptor containing common MIME content body properties.
Body descriptor builders are intended to construct BodyDescriptor instances from multiple unstructured RawFields.
Factory for creating message bodies.
A MIME body part (as defined in RFC 2045).
BodyPart builder.
Input buffer that can be used to search for patterns using Quick Search algorithm in data read from an InputStream.
This is a small utility class, whose main functionality is to allow simple reuse of raw byte/char buffers.
Transforms the JJTree-generated abstract syntax tree into a graph of org.apache.james.mime4j.dom.address objects.
 
A resizable byte array.
 
 
An immutable sequence of bytes.
Wraps a CharBuffer and exposes some convenience methods to easy parse with Mime4j.
Provide an InputStream view over a ByteBuffer.
 
Utility class for working with character sets.
A StorageProvider that transparently scrambles and unscrambles the data stored by another StorageProvider.
 
 
 
Represents a Content-Description field.
A descriptor containing common MIME content properties.
 
Represents a Content-Disposition field.
Represents a Content-Disposition field.
 
Token literal values and constants.
Token Manager.
Receives notifications of the content of a plain RFC822 or MIME message.
 
Represents a Content-Transfer-Encoding field.
 
Represents a Content-Transfer-Encoding field.
Represents a Content-Transfer-Encoding field.
 
Token literal values and constants.
Token Manager.
 
Represents a Content-Length field.
 
Represents a Content-Location field.
Represents a Content-Location field.
 
Represents a Content-MD5 field.
 
Represents a Content-Transfer-Encoding field.
 
Represents a Content-Type field.
Represents a Content-Type field.
 
Token literal values and constants.
Token Manager.
Utility methods for converting textual content of a message.
 
 
Date-time field such as Date or Resent-Date.
Date-time field such as Date or Resent-Date.
 
 
 
Token literal values and constants.
Token Manager.
This class is used to drive how decoder/parser should deal with malformed and unexpected data.
Static methods for decoding strings, byte arrays and encoded words.
Default (strict) builder for Address and its subclasses.
Default BodyDescriptorBuilder implementation.
Default implementation of FieldBuilder.
Default (strict) implementation of the FieldParser interface.
Default implementation of MessageBuilder.
A default MessageImplFactory that returns an unmodified MessageImpl using the default constructor.
Default implementation of MessageWriter.
Allows for a default StorageProvider instance to be configured on an application level.
 
A Disposable is an object that should be disposed of explicitly when it is no longer needed.
An immutable, random-access list of Strings (that are supposedly domain names or domain literals).
 
Static methods for encoding header field values.
Selects one of the two encodings specified in RFC 2047.
Indicates the intended usage of an encoded word.
A MIME entity.
Enumeration of states an entity is expected to go through in the process of the MIME stream parsing.
Represents the interal state of a MIME entity, which is being retrieved from an input stream by a MIME parser.
InputStream which converts \r bytes not followed by \n and \n not preceded by \r to \r\n.
Enumerates events which can be monitored.
Encapsulates the values of the MIME-specific header fields (which starts with Content-).
This interface represents an abstract MIME field.
Field builders are intended to construct RawField instances from multiple lines contained in ByteArrayBuffers.
Constants for common header field names.
A parser or transformation process intended to convert raw (unstructured) Fields into structured ParsedFields.
Factory for concrete Field instances.
Collection of From_ line patterns.
A named group of zero or more mailboxes.
A header of an MIME entity (as defined in RFC 2045).
Default implementation of Header.
Factory methods for InputStream instances backed by binary or textual data that attempt to minimize intermediate copying while streaming data.
Simple example of how to use Apache Mime4j Mbox Iterator.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A set of utility methods to help produce consistent equals and hashCode methods.
Lenient (tolerant to non-critical format violations) builder for Address and its subclasses.
Lenient implementation of the FieldParser interface with a high degree of tolerance to non-severe MIME field format violations.
 
InputStream used by the parser to wrap the original user supplied stream.
 
Input stream capable of reading lines of text.
InputStream used by the MIME parser to detect whether the underlying data stream was used (read from) and whether the end of the stream was reached.
 
 
 
 
 
 
 
Represents a single e-mail address.
 
Mailbox field such as Sender or Resent-Sender.
Mailbox field such as Sender or Resent-Sender.
An immutable, random-access list of Mailbox objects.
 
Mailbox-list field such as From or Resent-From.
Mailbox-list field such as From or Resent-From.
Signals a I/O error due to the total header length exceeding the maximum limit.
Signals a I/O error due to the header count exceeding the maximum limit.
Extended BodyDescriptor implementation with complete content details.
Signals an I/O error due to a line exceeding the limit on the maximum line length.
Class that provides an iterator over email messages inside an mbox file.
 
A StorageProvider that stores the data entirely in memory.
 
 
An MIME message (as defined in RFC 2045).
 
An interface to build instances of Message and other DOM elements either without any content, by copying content of an existing object or by reading content from an InputStream.
Deprecated.
Default implementation of Message.
Factory for creating message implementations.
Searches an email for content.
 
A MessageBuilderFactory is used to create EntityBuilder instances.
The default MessageBuilderFactory bundled with Mime4j.
Displays a parsed Message in a window.
Wraps an Object and associates it with a text.
An interface to write out content of Message and other DOM elements to an OutputStream.
Stream that constrains itself to a single MIME body part.
Properties used to configure the behavior of MIME stream parsers.
 
 
MIME processing exception.
A wrapper class based on IOException for MIME protocol exceptions.
 
Indicates that strict parsing has been enabled and an optional invality has been found in the input.
Parses MIME (or RFC822) message streams of bytes or characters and reports parsing events to a ContentHandler instance.
Parses MIME (or RFC822) message streams of bytes or characters.
A utility class, which provides some MIME related application logic.
 
Represents a MIME-Version field.
Represents a MIME-Version field.
 
Token literal values and constants.
Token Manager.
A MIME multipart body (as defined in RFC 2045).
Multipart builder.
Default implementation of Multipart.
Creates a multipart/mixed message that consists of a text/plain and an image/png part.
A wrapper around another Storage that also maintains a reference counter.
A name / value tuple
 
A structured field that has been processed by a parsing routine.
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
This exception is thrown when parse errors are encountered.
This class represents a context of a parsing operation:
A ContentHandler for building an Entity to be used in conjunction with a MimeStreamParser.
 
 
Performs Quoted-Printable decoding on an underlying stream.
 
Performs Quoted-Printable encoding on an underlying stream.
 
This class represents a field's body consisting of a textual value and a number of optional name / value parameters separated with semicolon.
Raw MIME entity.
Raw (unstructured) MIME field.
Low level parser for header field elements.
Enumeration of parsing modes.
A resizable byte array.
Utility class to load Service Providers (SPI).
 
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
Abstract implementation of ContentHandler that automates common tasks.
 
Abstract implementation of a single message body; that is, a body that does not contain (directly or indirectly) any other child bodies.
Builder for TextBody and BinaryBody instances.
Can be used to read data that has been stored by a StorageProvider.
Binary body backed by a Storage
Factory for creating message bodies.
This class implements an output stream that can be used to create a Storage object.
Provides a strategy for storing the contents of an InputStream or retrieving the content written to an OutputStream.
Text body backed by a Storage.
Text body backed by a String.
Parses generic structure fields.
Token literal values and constants.
Token Manager.
A StorageProvider that stores the data in temporary files.
 
 
Encapsulates the contents of a text/* entity body.
This example generates a message very similar to the one from RFC 5322 Appendix A.1.1.
A StorageProvider that keeps small amounts of data in memory and writes the remainder to another StorageProvider (the back-end) if a certain threshold size gets exceeded.
 
Describes the input token stream.
Describes the input token stream.
Describes the input token stream.
Describes the input token stream.
Describes the input token stream.
Describes the input token stream.
Describes the input token stream.
Token Manager Error.
Token Manager Error.
Token Manager Error.
Token Manager Error.
Token Manager Error.
Token Manager Error.
Token Manager Error.
This code should illustrate how to transform a message into another message without modifying the original.
 
Simple unstructured field such as Subject.