- capacity() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- capacity() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- CC - Static variable in class org.apache.james.mime4j.field.FieldName
-
- cc(Address) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Cc field for the specified mailbox or group address.
- cc(Address...) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Cc field for the specified mailbox or group addresses.
- cc(Iterable<Address>) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Cc field for the specified mailbox or group addresses.
- charAt(int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- CharsetUtil - Class in org.apache.james.mime4j.util
-
Utility class for working with character sets.
- CharsetUtil() - Constructor for class org.apache.james.mime4j.util.CharsetUtil
-
- CipherStorageProvider - Class in org.apache.james.mime4j.storage
-
A
StorageProvider
that transparently scrambles and unscrambles the
data stored by another
StorageProvider
.
- CipherStorageProvider(StorageProvider) - Constructor for class org.apache.james.mime4j.storage.CipherStorageProvider
-
Creates a new CipherStorageProvider
for the given back-end
using the Blowfish cipher algorithm.
- CipherStorageProvider(StorageProvider, String) - Constructor for class org.apache.james.mime4j.storage.CipherStorageProvider
-
Creates a new CipherStorageProvider
for the given back-end
and cipher algorithm.
- clear() - Method in class org.apache.james.mime4j.codec.ByteQueue
-
- clear() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- clear() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- clone() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
- close() - Method in class org.apache.james.mime4j.codec.Base64InputStream
-
- close() - Method in class org.apache.james.mime4j.codec.Base64OutputStream
-
- close() - Method in class org.apache.james.mime4j.codec.QuotedPrintableInputStream
-
Terminates Quoted-Printable coded content.
- close() - Method in class org.apache.james.mime4j.codec.QuotedPrintableOutputStream
-
- close() - Method in class org.apache.james.mime4j.io.EOLConvertingInputStream
-
Closes the underlying stream.
- close() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
-
Closes the underlying stream.
- close() - Method in class org.apache.james.mime4j.io.PositionInputStream
-
- close() - Method in class org.apache.james.mime4j.storage.StorageOutputStream
-
Closes this output stream.
- CodecUtil - Class in org.apache.james.mime4j.codec
-
Utility methods related to codecs.
- CodecUtil() - Constructor for class org.apache.james.mime4j.codec.CodecUtil
-
- config - Variable in class org.apache.james.mime4j.parser.AbstractEntity
-
- CONTENT_DISPOSITION - Static variable in class org.apache.james.mime4j.field.FieldName
-
- CONTENT_TRANSFER_ENCODING - Static variable in class org.apache.james.mime4j.field.FieldName
-
- CONTENT_TYPE - Static variable in class org.apache.james.mime4j.field.FieldName
-
- ContentDescriptor - Interface in org.apache.james.mime4j.descriptor
-
Represents common content properties.
- contentDisposition(String) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Disposition field from the specified raw field
value.
- contentDisposition(String, Map<String, String>) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Disposition field from the specified
disposition type and parameters.
- contentDisposition(String, String) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Disposition field from the specified
disposition type and filename.
- contentDisposition(String, String, long) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Disposition field from the specified values.
- contentDisposition(String, String, long, Date, Date, Date) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Disposition field from the specified values.
- ContentDispositionField - Class in org.apache.james.mime4j.field
-
Represents a Content-Disposition
field.
- ContentHandler - Interface in org.apache.james.mime4j.parser
-
Receives notifications of the content of a plain RFC822 or MIME message.
- contentTransferEncoding(String) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Transfer-Encoding field from the specified raw
field value.
- ContentTransferEncodingField - Class in org.apache.james.mime4j.field
-
Represents a Content-Transfer-Encoding
field.
- contentType(String) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Type field from the specified raw field value.
- contentType(String, Map<String, String>) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Content-Type field from the specified MIME type and
parameters.
- ContentTypeField - Class in org.apache.james.mime4j.field
-
Represents a Content-Type
field.
- ContentUtil - Class in org.apache.james.mime4j.util
-
Utility methods for converting textual content of a message.
- CONVERT_BOTH - Static variable in class org.apache.james.mime4j.io.EOLConvertingInputStream
-
Converts single '\r' and '\n' to '\r\n'
- CONVERT_CR - Static variable in class org.apache.james.mime4j.io.EOLConvertingInputStream
-
Converts single '\r' to '\r\n'
- CONVERT_LF - Static variable in class org.apache.james.mime4j.io.EOLConvertingInputStream
-
Converts single '\n' to '\r\n'
- convertName(String) - Method in class org.apache.james.mime4j.util.StringArrayMap
-
Lower cases the given name.
- convertToDate(int, int, int, int, int, int, int) - Static method in class org.apache.james.mime4j.field.datetime.DateTime
-
- copy(InputStream, OutputStream) - Static method in class org.apache.james.mime4j.codec.CodecUtil
-
Copies the contents of one stream to the other.
- copy(Body) - Static method in class org.apache.james.mime4j.message.BodyCopier
-
Returns a copy of the given
Body
that can be used (and modified)
independently of the original.
- copy() - Method in class org.apache.james.mime4j.message.SingleBody
-
Returns a copy of this SingleBody
(optional operation).
- count() - Method in class org.apache.james.mime4j.codec.ByteQueue
-
- CR - Static variable in class org.apache.james.mime4j.util.CharsetUtil
-
US-ASCII CR, carriage return (13)
- createMaximalDescriptorStream() - Static method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Creates a stream that creates a more detailed body descriptor.
- createMessageId(String) - Method in class org.apache.james.mime4j.message.Message
-
Creates and sets a new Message-ID header field for this message.
- createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.CipherStorageProvider
-
- createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.MemoryStorageProvider
-
- createStorageOutputStream() - Method in interface org.apache.james.mime4j.storage.StorageProvider
-
- createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.TempFileStorageProvider
-
- createStorageOutputStream() - Method in class org.apache.james.mime4j.storage.ThresholdStorageProvider
-
- createStrictValidationStream() - Static method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Creates a stream that strictly validates the input.
- createUniqueBoundary() - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Creates a new unique message boundary string that can be used as boundary
parameter for the Content-Type header field of a message.
- createUniqueMessageId(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Creates a new unique message identifier that can be used in message
header field such as Message-ID or In-Reply-To.
- CRLF - Static variable in class org.apache.james.mime4j.util.CharsetUtil
-
carriage return - line feed sequence
- DATE - Static variable in class org.apache.james.mime4j.field.FieldName
-
- date(Date) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Date field from the specified Date
value.
- date(String, Date) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a date field from the specified field name and Date
value.
- date(String, Date, TimeZone) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a date field from the specified field name, Date
and TimeZone
values.
- DateTime - Class in org.apache.james.mime4j.field.datetime
-
- DateTime(String, int, int, int, int, int, int) - Constructor for class org.apache.james.mime4j.field.datetime.DateTime
-
- DateTimeField - Class in org.apache.james.mime4j.field
-
Date-time field such as Date
or Resent-Date
.
- debug(Event) - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
Logs (at debug) an indicative message based on the given event
and the current state of the system.
- decode(ByteSequence) - Static method in class org.apache.james.mime4j.util.ContentUtil
-
Decodes the specified sequence of bytes into a string using the US-ASCII
charset.
- decode(Charset, ByteSequence) - Static method in class org.apache.james.mime4j.util.ContentUtil
-
Decodes the specified sequence of bytes into a string using the specified
charset.
- decode(ByteSequence, int, int) - Static method in class org.apache.james.mime4j.util.ContentUtil
-
Decodes a sub-sequence of the specified sequence of bytes into a string
using the US-ASCII charset.
- decode(Charset, ByteSequence, int, int) - Static method in class org.apache.james.mime4j.util.ContentUtil
-
Decodes a sub-sequence of the specified sequence of bytes into a string
using the specified charset.
- decodeB(String, String) - Static method in class org.apache.james.mime4j.codec.DecoderUtil
-
Decodes an encoded text encoded with the 'B' encoding (described in
RFC 2047) found in a header field body.
- decodeBase64(String) - Static method in class org.apache.james.mime4j.codec.DecoderUtil
-
Decodes a string containing base64 encoded data.
- decodeEncodedWords(String) - Static method in class org.apache.james.mime4j.codec.DecoderUtil
-
Decodes a string containing encoded words as defined by RFC 2047.
- decodeQ(String, String) - Static method in class org.apache.james.mime4j.codec.DecoderUtil
-
Decodes an encoded text encoded with the 'Q' encoding (described in
RFC 2047) found in a header field body.
- decodeQuotedPrintable(String) - Static method in class org.apache.james.mime4j.codec.DecoderUtil
-
Decodes a string containing quoted-printable encoded data.
- DecoderUtil - Class in org.apache.james.mime4j.codec
-
Static methods for decoding strings, byte arrays and encoded words.
- DecoderUtil() - Constructor for class org.apache.james.mime4j.codec.DecoderUtil
-
- DEFAULT - Static variable in class org.apache.james.mime4j.message.MessageWriter
-
The default message writer.
- DEFAULT_CHARSET - Static variable in class org.apache.james.mime4j.util.CharsetUtil
-
- DEFAULT_STORAGE_PROVIDER_PROPERTY - Static variable in class org.apache.james.mime4j.storage.DefaultStorageProvider
-
Value is org.apache.james.mime4j.defaultStorageProvider
- DefaultBodyDescriptor - Class in org.apache.james.mime4j.descriptor
-
Encapsulates the values of the MIME-specific header fields
(which starts with Content-
).
- DefaultBodyDescriptor() - Constructor for class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
Creates a new root BodyDescriptor
instance.
- DefaultBodyDescriptor(BodyDescriptor) - Constructor for class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
Creates a new BodyDescriptor
instance.
- DefaultFieldParser - Class in org.apache.james.mime4j.field
-
- DefaultFieldParser() - Constructor for class org.apache.james.mime4j.field.DefaultFieldParser
-
- DefaultStorageProvider - Class in org.apache.james.mime4j.storage
-
Allows for a default
StorageProvider
instance to be configured on an
application level.
- DelegatingFieldParser - Class in org.apache.james.mime4j.field
-
- DelegatingFieldParser() - Constructor for class org.apache.james.mime4j.field.DelegatingFieldParser
-
- delete() - Method in class org.apache.james.mime4j.storage.MultiReferenceStorage
-
Decrements the reference counter and deletes the inner
Storage
object if the reference counter reaches zero.
- delete() - Method in interface org.apache.james.mime4j.storage.Storage
-
Deletes the data held by this Storage
as soon as possible.
- dequeue() - Method in class org.apache.james.mime4j.codec.ByteQueue
-
- Disposable - Interface in org.apache.james.mime4j.message
-
A Disposable is an object that should be disposed of explicitly
when it is no longer needed.
- dispose() - Method in interface org.apache.james.mime4j.message.Disposable
-
Free any resources this object is holding and prepares this object
for garbage collection.
- dispose() - Method in class org.apache.james.mime4j.message.Entity
-
Disposes of the body of this entity.
- dispose() - Method in class org.apache.james.mime4j.message.Multipart
-
Disposes of the BodyParts of this Multipart.
- dispose() - Method in class org.apache.james.mime4j.message.SingleBody
-
Subclasses should override this method if they have allocated resources
that need to be freed explicitly (e.g.
- DISPOSITION_TYPE_ATTACHMENT - Static variable in class org.apache.james.mime4j.field.ContentDispositionField
-
The attachment
disposition type.
- DISPOSITION_TYPE_INLINE - Static variable in class org.apache.james.mime4j.field.ContentDispositionField
-
The inline
disposition type.
- doAddMailboxesTo(List<Mailbox>) - Method in class org.apache.james.mime4j.field.address.Address
-
Adds any mailboxes represented by this address into the given List.
- doAddMailboxesTo(List<Mailbox>) - Method in class org.apache.james.mime4j.field.address.Group
-
- doAddMailboxesTo(List<Mailbox>) - Method in class org.apache.james.mime4j.field.address.Mailbox
-
- DomainList - Class in org.apache.james.mime4j.field.address
-
An immutable, random-access list of Strings (that are supposedly domain names
or domain literals).
- DomainList(List<String>, boolean) - Constructor for class org.apache.james.mime4j.field.address.DomainList
-
- EMPTY - Static variable in interface org.apache.james.mime4j.util.ByteSequence
-
An empty byte sequence.
- ENC_7BIT - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
The 7bit
encoding.
- ENC_8BIT - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
The 8bit
encoding.
- ENC_BASE64 - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
The base64
encoding.
- ENC_BINARY - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
The binary
encoding.
- ENC_QUOTED_PRINTABLE - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
The quoted-printable
encoding.
- encode(String) - Static method in class org.apache.james.mime4j.util.ContentUtil
-
Encodes the specified string into an immutable sequence of bytes using
the US-ASCII charset.
- encode(Charset, String) - Static method in class org.apache.james.mime4j.util.ContentUtil
-
Encodes the specified string into an immutable sequence of bytes using
the specified charset.
- encodeAddressDisplayName(String) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the display-name portion of an address.
- encodeAddressLocalPart(String) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the local part of an address specification as described in RFC
5322 section 3.4.1.
- encodeB(byte[]) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the specified byte array using the B encoding defined in RFC
2047.
- encodeBase64(InputStream, OutputStream) - Static method in class org.apache.james.mime4j.codec.CodecUtil
-
Encodes the given stream using base64.
- encodeEncodedWord(String, EncoderUtil.Usage) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the specified text into an encoded word or a sequence of encoded
words separated by space.
- encodeEncodedWord(String, EncoderUtil.Usage, int) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the specified text into an encoded word or a sequence of encoded
words separated by space.
- encodeEncodedWord(String, EncoderUtil.Usage, int, Charset, EncoderUtil.Encoding) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the specified text into an encoded word or a sequence of encoded
words separated by space.
- encodeHeaderParameter(String, String) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the specified strings into a header parameter as described in RFC
2045 section 5.1 and RFC 2183 section 2.
- encodeIfNecessary(String, EncoderUtil.Usage, int) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Shortcut method that encodes the specified text into an encoded-word if
the text has to be encoded.
- encodeQ(byte[], EncoderUtil.Usage) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Encodes the specified byte array using the Q encoding defined in RFC
2047.
- encodeQuotedPrintable(InputStream, OutputStream) - Static method in class org.apache.james.mime4j.codec.CodecUtil
-
Encodes the given stream using Quoted-Printable.
- encodeQuotedPrintableBinary(InputStream, OutputStream) - Static method in class org.apache.james.mime4j.codec.CodecUtil
-
Encodes the given stream using Quoted-Printable.
- EncoderUtil - Class in org.apache.james.mime4j.codec
-
Static methods for encoding header field values.
- EncoderUtil.Encoding - Enum in org.apache.james.mime4j.codec
-
Selects one of the two encodings specified in RFC 2047.
- EncoderUtil.Usage - Enum in org.apache.james.mime4j.codec
-
Indicates the intended usage of an encoded word.
- encodeStream(OutputStream, String, boolean) - Method in class org.apache.james.mime4j.message.MessageWriter
-
- endBodyPart() - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- endBodyPart() - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- endBodyPart() - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when a body part ends.
- endHeader() - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- endHeader() - Method in class org.apache.james.mime4j.message.SimpleContentHandler
-
- endHeader() - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- endHeader() - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when there are no more header fields in a message or body part.
- endMessage() - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- endMessage() - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- endMessage() - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when a message ends.
- endMultipart() - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- endMultipart() - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- endMultipart() - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when the body of an entity has been parsed.
- endState - Variable in class org.apache.james.mime4j.parser.AbstractEntity
-
- enqueue(byte) - Method in class org.apache.james.mime4j.codec.ByteQueue
-
- ensureCapacity(int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- Entity - Class in org.apache.james.mime4j.message
-
MIME entity.
- Entity() - Constructor for class org.apache.james.mime4j.message.Entity
-
Creates a new Entity
.
- Entity(Entity) - Constructor for class org.apache.james.mime4j.message.Entity
-
Creates a new Entity
from the specified
Entity
.
- EntityStateMachine - Interface in org.apache.james.mime4j.parser
-
Represents the interal state of a MIME entity, which is being retrieved
from an input stream by a MIME parser.
- EntityStates - Interface in org.apache.james.mime4j.parser
-
Enumeration of states an entity is expected to go through
in the process of the MIME stream parsing.
- eof() - Method in class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
-
- eof() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
-
- EOLConvertingInputStream - Class in org.apache.james.mime4j.io
-
InputStream which converts \r
bytes not followed by \n
and \n
not
preceded by \r
to \r\n
.
- EOLConvertingInputStream(InputStream) - Constructor for class org.apache.james.mime4j.io.EOLConvertingInputStream
-
Creates a new EOLConvertingInputStream
instance converting bytes in the given InputStream
.
- EOLConvertingInputStream(InputStream, int) - Constructor for class org.apache.james.mime4j.io.EOLConvertingInputStream
-
Creates a new EOLConvertingInputStream
instance converting bytes in the given InputStream
.
- epilogue(InputStream) - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- epilogue(InputStream) - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- epilogue(InputStream) - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called for the epilogue (whatever comes after the final body part)
of a multipart/*
entity.
- equals(Object) - Method in class org.apache.james.mime4j.field.address.Mailbox
-
Indicates whether some other object is "equal to" this mailbox.
- equals(Object) - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- equals(Object) - Method in class org.apache.james.mime4j.parser.Event
-
- Event - Class in org.apache.james.mime4j.parser
-
Enumerates events which can be monitored.
- Event(String) - Constructor for class org.apache.james.mime4j.parser.Event
-
- get(int) - Method in class org.apache.james.mime4j.field.address.AddressList
-
Gets an address.
- get(int) - Method in class org.apache.james.mime4j.field.address.DomainList
-
Gets the domain name or domain literal at the specified index.
- get(int) - Method in class org.apache.james.mime4j.field.address.MailboxList
-
Gets an address.
- getAddress() - Method in class org.apache.james.mime4j.field.address.Mailbox
-
Returns the address in the form localPart@domain.
- getAddressList() - Method in class org.apache.james.mime4j.field.AddressListField
-
- getBcc() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the Bcc header field of this message as
AddressList
object or null
if it is not
present.
- getBody() - Method in class org.apache.james.mime4j.field.AbstractField
-
Gets the unfolded, unparsed and possibly encoded (see RFC 2047) field
body string.
- getBody() - Method in class org.apache.james.mime4j.message.Entity
-
Gets the body of this entity.
- getBody() - Method in interface org.apache.james.mime4j.parser.Field
-
Gets the unparsed and possibly encoded (see RFC 2047) field body string.
- getBodyDescriptor() - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
Gets a descriptor for the current entity.
- getBodyDescriptor() - Method in interface org.apache.james.mime4j.parser.EntityStateMachine
-
Returns description of the entity body.
- getBodyDescriptor() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Gets a descriptor for the current entity.
- getBodyDescriptor() - Method in class org.apache.james.mime4j.parser.RawEntity
-
This method has no effect and always returns null
.
- getBodyParts() - Method in class org.apache.james.mime4j.message.Multipart
-
Gets the list of body parts.
- getBoundary() - Method in interface org.apache.james.mime4j.descriptor.BodyDescriptor
-
Returns the body descriptors boundary.
- getBoundary() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
Return the boundary
- getBoundary() - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets the value of the boundary
parameter if set.
- getCc() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the Cc header field of this message as
AddressList
object or null
if it is not
present.
- getCharset() - Method in interface org.apache.james.mime4j.descriptor.ContentDescriptor
-
The body descriptors character set, defaulted appropriately for the MIME type.
- getCharset() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
Return the charset
- getCharset() - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets the value of the charset
parameter if set.
- getCharset(ContentTypeField) - Static method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets the value of the charset
parameter if set for the
given field.
- getCharset() - Method in class org.apache.james.mime4j.message.Entity
-
Determines the MIME character set encoding of this Entity
.
- getCharset(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
- getContentDescription() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the value of the
RFC
Content-Description
header.
- getContentDispositionCreationDate() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the creation-date
parameter value of the content-disposition
field.
- getContentDispositionCreationDateParseException() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- getContentDispositionFilename() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the filename
parameter value of the content-disposition
field.
- getContentDispositionModificationDate() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the modification-date
parameter value of the content-disposition
field.
- getContentDispositionModificationDateParseException() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- getContentDispositionParameters() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the parameters of the content-disposition
field.
- getContentDispositionReadDate() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the read-date
parameter value of the content-disposition
field.
- getContentDispositionReadDateParseException() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- getContentDispositionSize() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the size
parameter value of the content-disposition
field.
- getContentDispositionSizeParseException() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- getContentDispositionType() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the disposition type of the content-disposition
field.
- getContentId() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the value of the
RFC
Content-ID
header.
- getContentLanguage() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Get the content-language
header values.
- getContentLanguageParseException() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- getContentLength() - Method in interface org.apache.james.mime4j.descriptor.ContentDescriptor
-
Returns the body descriptors content-length.
- getContentLength() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
- getContentLocation() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Get the content-location
header value.
- getContentLocationParseException() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- getContentMD5Raw() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the raw, Base64 encoded value of the
Content-MD5
field.
- getContentStream() - Method in interface org.apache.james.mime4j.parser.EntityStateMachine
-
Returns content stream of the entity body.
- getContentStream() - Method in class org.apache.james.mime4j.parser.MimeEntity
-
- getContentStream() - Method in class org.apache.james.mime4j.parser.RawEntity
-
Returns raw data stream.
- getContentTransferEncoding() - Method in class org.apache.james.mime4j.message.Entity
-
Determines the transfer encoding of this Entity
.
- getContentTypeParameters() - Method in interface org.apache.james.mime4j.descriptor.ContentDescriptor
-
Returns the map of parameters of the content-type header.
- getContentTypeParameters() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
Return all parameters for the BodyDescriptor
- getCount() - Method in class org.apache.james.mime4j.message.Multipart
-
Returns the number of body parts.
- getCreationDate() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the value of the creation-date
parameter if set and
valid.
- getDataStream() - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
- getDataStream() - Method in class org.apache.james.mime4j.parser.MimeEntity
-
- getDate() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- getDate() - Method in class org.apache.james.mime4j.field.DateTimeField
-
- getDate() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the Date header field of this message as
Date
object or null
if it is not present.
- getDay() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- getDecodedInputStream() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
This method returns a transfer decoded stream based on the MIME
fields with the standard defaults.
- getDisplayString() - Method in class org.apache.james.mime4j.field.address.Address
-
Formats the address as a human readable string, not including the route.
- getDisplayString(boolean) - Method in class org.apache.james.mime4j.field.address.Address
-
Formats the address as a human readable string, not including the route.
- getDisplayString(boolean) - Method in class org.apache.james.mime4j.field.address.Group
-
- getDisplayString(boolean) - Method in class org.apache.james.mime4j.field.address.Mailbox
-
- getDispositionType() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the disposition type defined in this Content-Disposition field.
- getDispositionType() - Method in class org.apache.james.mime4j.message.Entity
-
Return the disposition type of the content disposition of this
Entity
.
- getDomain() - Method in class org.apache.james.mime4j.field.address.Mailbox
-
Returns the right part of the e-mail address (after "@").
- getEncodedString() - Method in class org.apache.james.mime4j.field.address.Address
-
Returns a string representation of this address that can be used for
transport purposes.
- getEncodedString() - Method in class org.apache.james.mime4j.field.address.Group
-
- getEncodedString() - Method in class org.apache.james.mime4j.field.address.Mailbox
-
- getEncoding() - Method in class org.apache.james.mime4j.field.ContentTransferEncodingField
-
Gets the encoding defined in this field.
- getEncoding(ContentTransferEncodingField) - Static method in class org.apache.james.mime4j.field.ContentTransferEncodingField
-
Gets the encoding of the given field if.
- getEpilogue() - Method in class org.apache.james.mime4j.message.Multipart
-
Gets the epilogue.
- getEvent() - Method in exception org.apache.james.mime4j.parser.MimeParseEventException
-
Gets the causal parse event.
- getField(String) - Method in class org.apache.james.mime4j.message.Header
-
Gets a Field
given a field name.
- getField() - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
- getField() - Method in interface org.apache.james.mime4j.parser.EntityStateMachine
-
Returns current header field.
- getField() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
- getField() - Method in class org.apache.james.mime4j.parser.RawEntity
-
This method has no effect and always returns null
.
- getFieldName() - Method in class org.apache.james.mime4j.parser.RawEntity
-
This method has no effect and always returns null
.
- getFields() - Method in class org.apache.james.mime4j.message.Header
-
Gets the fields of this header.
- getFields(String) - Method in class org.apache.james.mime4j.message.Header
-
Gets all Field
s having the specified field name.
- getFieldValue() - Method in class org.apache.james.mime4j.parser.RawEntity
-
This method has no effect and always returns null
.
- getFilename() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the value of the filename
parameter if set.
- getFilename() - Method in class org.apache.james.mime4j.message.Entity
-
Returns the filename parameter of the content disposition of this
Entity
.
- getFrom() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the From header field of this message as
MailboxList
object or null
if it is not
present.
- getHeader() - Method in class org.apache.james.mime4j.message.Entity
-
Gets the entity header.
- getHeaderParams(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Parses a complex field value into a map of key/value pairs.
- getHour() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- getInputStream() - Method in class org.apache.james.mime4j.message.BinaryBody
-
Gets a InputStream
which reads the bytes of the body.
- getInputStream() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
This method returns the raw entity, preamble, or epilogue contents.
- getInputStream() - Method in class org.apache.james.mime4j.storage.MultiReferenceStorage
-
Returns the input stream of the inner Storage
object.
- getInputStream() - Method in interface org.apache.james.mime4j.storage.Storage
-
Returns an InputStream
that can be used to read the stored
data.
- getInstance() - Static method in class org.apache.james.mime4j.storage.DefaultStorageProvider
-
- getLineNumber() - Method in class org.apache.james.mime4j.io.LineNumberInputStream
-
- getLineNumber() - Method in interface org.apache.james.mime4j.io.LineNumberSource
-
Gets the current line number starting at 1 (the number of
\r\n
read so far plus 1).
- getLineNumber() - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
Returns the current line number or -1
if line number
information is not available.
- getLineNumber() - Method in class org.apache.james.mime4j.parser.MimeEntity
-
- getLocalPart() - Method in class org.apache.james.mime4j.field.address.Mailbox
-
Returns the left part of the e-mail address (before "@").
- getMailbox() - Method in class org.apache.james.mime4j.field.MailboxField
-
- getMailboxes() - Method in class org.apache.james.mime4j.field.address.Group
-
Returns the mailboxes in this group.
- getMailboxList() - Method in class org.apache.james.mime4j.field.MailboxListField
-
- getMap() - Method in class org.apache.james.mime4j.util.StringArrayMap
-
Returns an unmodifiable map of name/value pairs.
- getMaxContentLen() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Returns the maximum content length limit
- getMaxHeaderCount() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Returns the maximum header limit
- getMaxLineLen() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Returns the maximum line length limit
- getMediaType() - Method in interface org.apache.james.mime4j.descriptor.ContentDescriptor
-
Gets the defaulted MIME media type for this content.
- getMediaType() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
- getMessageId() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the Message-ID header field of this message
or null
if it is not present.
- getMimeCharset() - Method in class org.apache.james.mime4j.message.TextBody
-
Returns the MIME charset of this text body.
- getMimeMajorVersion() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the MIME major version
as specified by the MIME-Version
header.
- getMimeMinorVersion() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
Gets the MIME minor version
as specified by the MIME-Version
header.
- getMimeType() - Method in interface org.apache.james.mime4j.descriptor.ContentDescriptor
-
Returns the body descriptors MIME type.
- getMimeType() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
Return the MimeType
- getMimeType() - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets the MIME type defined in this Content-Type field.
- getMimeType(ContentTypeField, ContentTypeField) - Static method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets the MIME type defined in the child's Content-Type field or derives a
MIME type from the parent if child is null
or hasn't got a
MIME type value set.
- getMimeType() - Method in class org.apache.james.mime4j.message.Entity
-
Determines the MIME type of this Entity
.
- getMimeVersionParseException() - Method in class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
When the MIME version header exists but cannot be parsed
this field will be contain the exception.
- getMinute() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- getModificationDate() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the value of the modification-date
parameter if set
and valid.
- getMonth() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- getName() - Method in class org.apache.james.mime4j.field.AbstractField
-
Gets the name of the field (Subject
,
From
, etc).
- getName() - Method in class org.apache.james.mime4j.field.address.Group
-
Returns the group name.
- getName() - Method in class org.apache.james.mime4j.field.address.Mailbox
-
Returns the name of the mailbox or null
if it does not
have a name.
- getName() - Method in interface org.apache.james.mime4j.parser.Field
-
Gets the name of the field (Subject
, From
, etc).
- getNameArray() - Method in class org.apache.james.mime4j.util.StringArrayMap
-
Returns the set of registered names.
- getNames() - Method in class org.apache.james.mime4j.util.StringArrayMap
-
Returns the set of registered names as an enumeration.
- getParameter(String) - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the value of a parameter.
- getParameter(String) - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets the value of a parameter.
- getParameters() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets all parameters.
- getParameters() - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets all parameters.
- getParent() - Method in interface org.apache.james.mime4j.message.Body
-
Gets the parent of this body.
- getParent() - Method in class org.apache.james.mime4j.message.Entity
-
Gets the parent entity of this entity.
- getParent() - Method in class org.apache.james.mime4j.message.Multipart
-
- getParent() - Method in class org.apache.james.mime4j.message.SingleBody
-
- getParseException() - Method in class org.apache.james.mime4j.field.AbstractField
-
- getParseException() - Method in class org.apache.james.mime4j.field.AddressListField
-
- getParseException() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the exception that was raised during parsing of the field value, if
any; otherwise, null.
- getParseException() - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Gets the exception that was raised during parsing of the field value, if
any; otherwise, null.
- getParseException() - Method in class org.apache.james.mime4j.field.DateTimeField
-
- getParseException() - Method in class org.apache.james.mime4j.field.MailboxField
-
- getParseException() - Method in class org.apache.james.mime4j.field.MailboxListField
-
- getParseException() - Method in interface org.apache.james.mime4j.field.ParsedField
-
Returns the exception that was thrown by the field parser while parsing
the field value.
- getParser() - Static method in class org.apache.james.mime4j.field.AbstractField
-
Gets the default parser used to parse fields.
- getParser(String) - Method in class org.apache.james.mime4j.field.DelegatingFieldParser
-
- getPosition() - Method in class org.apache.james.mime4j.io.PositionInputStream
-
- getPreamble() - Method in class org.apache.james.mime4j.message.Multipart
-
Gets the preamble.
- getRaw() - Method in class org.apache.james.mime4j.field.AbstractField
-
Gets the original raw field string.
- getRaw() - Method in interface org.apache.james.mime4j.parser.Field
-
Gets the original raw field bytes.
- getReadDate() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the value of the read-date
parameter if set and
valid.
- getReader() - Method in class org.apache.james.mime4j.message.TextBody
-
Gets a Reader
which may be used to read out the contents
of this body.
- getReader() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Gets a reader configured for the current body or body part.
- getRecursionMode() - Method in class org.apache.james.mime4j.parser.MimeEntity
-
- getRecursionMode() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Gets the current recursion mode.
- getReplyTo() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the Reply-To header field of this message as
AddressList
object or null
if it is not
present.
- getRoute() - Method in class org.apache.james.mime4j.field.address.Mailbox
-
Returns the route list.
- getSecond() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- getSender() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the Sender header field of this message as
Mailbox
object or null
if it is not
present.
- getSize() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Gets the value of the size
parameter if set and valid.
- getState() - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
- getState() - Method in interface org.apache.james.mime4j.parser.EntityStateMachine
-
Return the current state of the entity.
- getState() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Returns the current state.
- getState() - Method in class org.apache.james.mime4j.parser.RawEntity
-
- getStorageProvider() - Method in class org.apache.james.mime4j.message.BodyFactory
-
Returns the StorageProvider
this BodyFactory
uses to create message bodies from input streams.
- getSubject() - Method in class org.apache.james.mime4j.message.Message
-
Returns the (decoded) value of the Subject header field of this
message or null
if it is not present.
- getSubType() - Method in interface org.apache.james.mime4j.descriptor.ContentDescriptor
-
Gets the defaulted MIME sub type for this content.
- getSubType() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
- getSubType() - Method in class org.apache.james.mime4j.message.Multipart
-
Gets the multipart sub-type.
- getTimeZone() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- getTo() - Method in class org.apache.james.mime4j.message.Message
-
Returns the value of the To header field of this message as
AddressList
object or null
if it is not
present.
- getTransferEncoding() - Method in interface org.apache.james.mime4j.descriptor.ContentDescriptor
-
Returns the body descriptors transfer encoding.
- getTransferEncoding() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
Return the TransferEncoding
- getValue() - Method in class org.apache.james.mime4j.field.UnstructuredField
-
- getValue(String) - Method in class org.apache.james.mime4j.util.StringArrayMap
-
Returns the requested value.
- getValueEnum(String) - Method in class org.apache.james.mime4j.util.StringArrayMap
-
Returns the requested values as an enumeration.
- getValues(String) - Method in class org.apache.james.mime4j.util.StringArrayMap
-
Returns the requested values as a string array.
- getYear() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- Group - Class in org.apache.james.mime4j.field.address
-
A named group of zero or more mailboxes.
- Group(String, Mailbox...) - Constructor for class org.apache.james.mime4j.field.address.Group
-
- Group(String, Collection<Mailbox>) - Constructor for class org.apache.james.mime4j.field.address.Group
-
- Group(String, MailboxList) - Constructor for class org.apache.james.mime4j.field.address.Group
-
- INALID_HEADER - Static variable in class org.apache.james.mime4j.parser.Event
-
Indicates that unexpected end of headers detected.
- indexOf(byte[], int, int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
Implements quick search algorithm as published by
- indexOf(byte[]) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
Implements quick search algorithm as published by
- indexOf(byte, int, int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- indexOf(byte) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- indexOf(byte) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- indexOf(byte, int, int) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- isASCII(char) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Returns true
if the specified character falls into the US
ASCII character set (Unicode range 0000 to 007f).
- isASCII(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Returns true
if the specified string consists entirely of
US ASCII characters.
- isAttachment() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Return true
if the disposition type of this field is
attachment, false
otherwise.
- isBase64Encoding(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Returns, whether the given transfer-encoding is "base64".
- isContentDecoding() - Method in class org.apache.james.mime4j.parser.MimeStreamParser
-
Determines whether this parser automatically decodes body content
based on the on the MIME fields with the standard defaults.
- isCountLineNumbers() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Returns the value of the line number counting mode.
- isDecodingSupported(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Determines if the VM supports decoding (bytes to chars) the
specified character set.
- isDispositionType(String) - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Determines if the disposition type of this field matches the given one.
- isEmpty() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- isEncodingSupported(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Determines if the VM supports encoding (chars to bytes) the
specified character set.
- isFull() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- isInline() - Method in class org.apache.james.mime4j.field.ContentDispositionField
-
Return true
if the disposition type of this field is
inline, false
otherwise.
- isLastPart() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
-
- isMaximalBodyDescriptor() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
- isMessage(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Returns true, if the given MIME type is that of a message.
- isMimeType(String) - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Determines if the MIME type of this field matches the given one.
- isMimeType(String) - Method in class org.apache.james.mime4j.message.Entity
-
Determines if the MIME type of this Entity
matches the
given one.
- isMultipart() - Method in class org.apache.james.mime4j.field.ContentTypeField
-
Determines if the MIME type of this field is multipart/*
.
- isMultipart() - Method in class org.apache.james.mime4j.message.Entity
-
Determines if the MIME type of this Entity
is
multipart/*
.
- isMultipart(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Return true, if the given MIME type indicates a multipart entity.
- ISO_8859_1 - Static variable in class org.apache.james.mime4j.util.CharsetUtil
-
- isQuotedPrintableEncoded(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Returns, whether the given transfer-encoding is "quoted-printable".
- isRaw() - Method in class org.apache.james.mime4j.parser.MimeStreamParser
-
Determines if this parser is currently in raw mode.
- isRaw() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Determines if this parser is currently in raw mode.
- isSameMimeType(String, String) - Static method in class org.apache.james.mime4j.util.MimeUtil
-
Returns, whether the given two MIME types are identical.
- isStrictParsing() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Returns the value of the strict parsing mode
- isToken(String) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
-
Tests whether the specified string is a token as defined in RFC 2045
section 5.1.
- isUsed() - Method in class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
-
- isValidField() - Method in class org.apache.james.mime4j.field.AbstractField
-
- isValidField() - Method in interface org.apache.james.mime4j.field.ParsedField
-
Returns true
if this field is valid, i.e.
- isWhitespace(char) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Returns true
if the specified character is a whitespace
character (CR, LF, SP or HT).
- isWhitespace(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Returns true
if the specified string consists entirely of
whitespace characters.
- iterator() - Method in class org.apache.james.mime4j.codec.ByteQueue
-
- iterator() - Method in class org.apache.james.mime4j.message.Header
-
Returns an iterator over the list of fields of this header.
- M_FLAT - Static variable in interface org.apache.james.mime4j.parser.RecursionMode
-
Do not recurse message/rfc822
parts
and treat multiparts as a single flat body.
- M_NO_RECURSE - Static variable in interface org.apache.james.mime4j.parser.RecursionMode
-
Do not recurse message/rfc822
parts
- M_RAW - Static variable in interface org.apache.james.mime4j.parser.RecursionMode
-
Parse into raw entities
- M_RECURSE - Static variable in interface org.apache.james.mime4j.parser.RecursionMode
-
Recursively parse every message/rfc822
part
- Mailbox - Class in org.apache.james.mime4j.field.address
-
Represents a single e-mail address.
- Mailbox(String, String) - Constructor for class org.apache.james.mime4j.field.address.Mailbox
-
Creates an unnamed mailbox without a route.
- Mailbox(DomainList, String, String) - Constructor for class org.apache.james.mime4j.field.address.Mailbox
-
Creates an unnamed mailbox with a route.
- Mailbox(String, String, String) - Constructor for class org.apache.james.mime4j.field.address.Mailbox
-
Creates a named mailbox without a route.
- Mailbox(String, DomainList, String, String) - Constructor for class org.apache.james.mime4j.field.address.Mailbox
-
Creates a named mailbox with a route.
- mailbox(String, Mailbox) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a mailbox field from the specified field name and mailbox
address.
- MailboxField - Class in org.apache.james.mime4j.field
-
Mailbox field such as Sender
or Resent-Sender
.
- MailboxList - Class in org.apache.james.mime4j.field.address
-
An immutable, random-access list of Mailbox objects.
- MailboxList(List<Mailbox>, boolean) - Constructor for class org.apache.james.mime4j.field.address.MailboxList
-
- mailboxList(String, Iterable<Mailbox>) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a mailbox-list field from the specified field name and mailbox
addresses.
- MailboxListField - Class in org.apache.james.mime4j.field
-
Mailbox-list field such as From
or Resent-From
.
- main(String[]) - Static method in class org.apache.james.mime4j.field.address.AddressList
-
Test console.
- mark(int) - Method in class org.apache.james.mime4j.io.PositionInputStream
-
- markSupported() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- markSupported() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
-
- markSupported() - Method in class org.apache.james.mime4j.io.PositionInputStream
-
- MaxHeaderLimitException - Exception in org.apache.james.mime4j.io
-
Signals a I/O error due to the header count exceeding the maximum limit.
- MaxHeaderLimitException(String) - Constructor for exception org.apache.james.mime4j.io.MaxHeaderLimitException
-
- MaximalBodyDescriptor - Class in org.apache.james.mime4j.descriptor
-
Parses and stores values for standard MIME header values.
- MaximalBodyDescriptor() - Constructor for class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- MaximalBodyDescriptor(BodyDescriptor) - Constructor for class org.apache.james.mime4j.descriptor.MaximalBodyDescriptor
-
- MaxLineLimitException - Exception in org.apache.james.mime4j.io
-
Signals a I/O error due to a line exceeding the limit on the
maximum line length.
- MaxLineLimitException(String) - Constructor for exception org.apache.james.mime4j.io.MaxLineLimitException
-
- MemoryStorageProvider - Class in org.apache.james.mime4j.storage
-
- MemoryStorageProvider() - Constructor for class org.apache.james.mime4j.storage.MemoryStorageProvider
-
Creates a new MemoryStorageProvider
.
- Message - Class in org.apache.james.mime4j.message
-
Represents a MIME message.
- Message() - Constructor for class org.apache.james.mime4j.message.Message
-
Creates a new empty Message
.
- Message(Message) - Constructor for class org.apache.james.mime4j.message.Message
-
Creates a new Message
from the specified
Message
.
- Message(InputStream) - Constructor for class org.apache.james.mime4j.message.Message
-
Parses the specified MIME message stream into a Message
instance.
- Message(InputStream, MimeEntityConfig) - Constructor for class org.apache.james.mime4j.message.Message
-
Parses the specified MIME message stream into a
Message
instance using given
MimeEntityConfig
.
- Message(InputStream, MimeEntityConfig, StorageProvider) - Constructor for class org.apache.james.mime4j.message.Message
-
- message(Event) - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
Creates an indicative message suitable for display
based on the given event and the current state of the system.
- MESSAGE_ID - Static variable in class org.apache.james.mime4j.field.FieldName
-
- MessageBuilder - Class in org.apache.james.mime4j.message
-
A
ContentHandler
for building an
Entity
to be
used in conjunction with a
MimeStreamParser
.
- MessageBuilder(Entity) - Constructor for class org.apache.james.mime4j.message.MessageBuilder
-
- MessageBuilder(Entity, StorageProvider) - Constructor for class org.apache.james.mime4j.message.MessageBuilder
-
- messageId(String) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Message-ID field for the specified host name.
- MessageWriter - Class in org.apache.james.mime4j.message
-
Writes a message (or a part of a message) to an output stream.
- MessageWriter() - Constructor for class org.apache.james.mime4j.message.MessageWriter
-
Protected constructor prevents direct instantiation.
- MIME_BODY_PREMATURE_END - Static variable in class org.apache.james.mime4j.parser.Event
-
Indicates that a body part ended prematurely.
- MIME_HEADER_CONTENT_DESCRIPTION - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Description
header name (lowercase)
- MIME_HEADER_CONTENT_DISPOSITION - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Disposition
header name (lowercase).
- MIME_HEADER_CONTENT_ID - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-ID
header name (lowercase)
- MIME_HEADER_LANGAUGE - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Langauge
header (lower case).
- MIME_HEADER_LOCATION - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Location
header (lower case).
- MIME_HEADER_MD5 - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-MD5
header (lower case).
- MIME_HEADER_MIME_VERSION - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
MIME-Version
header name (lowercase)
- MimeBoundaryInputStream - Class in org.apache.james.mime4j.io
-
Stream that constrains itself to a single MIME body part.
- MimeBoundaryInputStream(BufferedLineReaderInputStream, String) - Constructor for class org.apache.james.mime4j.io.MimeBoundaryInputStream
-
Creates a new MimeBoundaryInputStream.
- MimeEntity - Class in org.apache.james.mime4j.parser
-
- MimeEntity(LineNumberSource, BufferedLineReaderInputStream, BodyDescriptor, int, int, MimeEntityConfig) - Constructor for class org.apache.james.mime4j.parser.MimeEntity
-
- MimeEntity(LineNumberSource, BufferedLineReaderInputStream, BodyDescriptor, int, int) - Constructor for class org.apache.james.mime4j.parser.MimeEntity
-
- MimeEntityConfig - Class in org.apache.james.mime4j.parser
-
MIME entity configuration
- MimeEntityConfig() - Constructor for class org.apache.james.mime4j.parser.MimeEntityConfig
-
- MimeException - Exception in org.apache.james.mime4j
-
MIME processing exception.
- MimeException(String) - Constructor for exception org.apache.james.mime4j.MimeException
-
Constructs a new MIME exception with the specified detail message.
- MimeException(Throwable) - Constructor for exception org.apache.james.mime4j.MimeException
-
Constructs a MIME exception with the specified cause.
- MimeException(String, Throwable) - Constructor for exception org.apache.james.mime4j.MimeException
-
Constructs a MIME exception with the specified detail message and cause.
- MimeIOException - Exception in org.apache.james.mime4j
-
A wrapper class based on IOException
for MIME protocol exceptions.
- MimeIOException(String) - Constructor for exception org.apache.james.mime4j.MimeIOException
-
Creates a new MimeIOException from the specified detail message.
- MimeIOException(MimeException) - Constructor for exception org.apache.james.mime4j.MimeIOException
-
- MimeParseEventException - Exception in org.apache.james.mime4j.parser
-
Indicates that strict parsing has been enabled
and an optional invality has been found in the input.
- MimeParseEventException(Event) - Constructor for exception org.apache.james.mime4j.parser.MimeParseEventException
-
Constructs an exception
- MimeStreamParser - Class in org.apache.james.mime4j.parser
-
Parses MIME (or RFC822) message streams of bytes or characters and reports
parsing events to a ContentHandler
instance.
- MimeStreamParser(MimeEntityConfig) - Constructor for class org.apache.james.mime4j.parser.MimeStreamParser
-
- MimeStreamParser() - Constructor for class org.apache.james.mime4j.parser.MimeStreamParser
-
- MimeTokenStream - Class in org.apache.james.mime4j.parser
-
Parses MIME (or RFC822) message streams of bytes or characters.
- MimeTokenStream() - Constructor for class org.apache.james.mime4j.parser.MimeTokenStream
-
Constructs a standard (lax) stream.
- MimeTokenStream(MimeEntityConfig) - Constructor for class org.apache.james.mime4j.parser.MimeTokenStream
-
- MimeUtil - Class in org.apache.james.mime4j.util
-
A utility class, which provides some MIME related application logic.
- monitor(Event) - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
Monitors the given event.
- Multipart - Class in org.apache.james.mime4j.message
-
Represents a MIME multipart body (see RFC 2045).A multipart body has a
ordered list of body parts.
- Multipart(String) - Constructor for class org.apache.james.mime4j.message.Multipart
-
Creates a new empty Multipart
instance.
- Multipart(Multipart) - Constructor for class org.apache.james.mime4j.message.Multipart
-
Creates a new Multipart
from the specified
Multipart
.
- MultiReferenceStorage - Class in org.apache.james.mime4j.storage
-
A wrapper around another
Storage
that also maintains a reference
counter.
- MultiReferenceStorage(Storage) - Constructor for class org.apache.james.mime4j.storage.MultiReferenceStorage
-
Creates a new MultiReferenceStorage
instance for the given
back-end.
- MutableBodyDescriptor - Interface in org.apache.james.mime4j.descriptor
-
Adds mutator.
- PARAM_BOUNDARY - Static variable in class org.apache.james.mime4j.field.ContentTypeField
-
The name of the boundary
parameter.
- PARAM_CHARSET - Static variable in class org.apache.james.mime4j.field.ContentTypeField
-
The name of the charset
parameter.
- PARAM_CREATION_DATE - Static variable in class org.apache.james.mime4j.field.ContentDispositionField
-
The name of the creation-date
parameter.
- PARAM_CREATION_DATE - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Disposition
creation-date parameter (lowercase).
- PARAM_FILENAME - Static variable in class org.apache.james.mime4j.field.ContentDispositionField
-
The name of the filename
parameter.
- PARAM_FILENAME - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Disposition
filename parameter (lowercase).
- PARAM_MODIFICATION_DATE - Static variable in class org.apache.james.mime4j.field.ContentDispositionField
-
The name of the modification-date
parameter.
- PARAM_MODIFICATION_DATE - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Disposition
modification-date parameter (lowercase).
- PARAM_READ_DATE - Static variable in class org.apache.james.mime4j.field.ContentDispositionField
-
The name of the read-date
parameter.
- PARAM_READ_DATE - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Disposition
read-date parameter (lowercase).
- PARAM_SIZE - Static variable in class org.apache.james.mime4j.field.ContentDispositionField
-
The name of the size
parameter.
- PARAM_SIZE - Static variable in class org.apache.james.mime4j.util.MimeUtil
-
Content-Disposition
size parameter (lowercase).
- parent - Variable in class org.apache.james.mime4j.parser.AbstractEntity
-
- parse(ByteSequence) - Static method in class org.apache.james.mime4j.field.AbstractField
-
Parses the given byte sequence and returns an instance of the
Field
class.
- parse(String) - Static method in class org.apache.james.mime4j.field.AbstractField
-
Parses the given string and returns an instance of the
Field
class.
- parse(String) - Static method in class org.apache.james.mime4j.field.address.Address
-
Parses the specified raw string into an address.
- parse(String) - Static method in class org.apache.james.mime4j.field.address.AddressList
-
Parse the address list string, such as the value of a From, To, Cc, Bcc,
Sender, or Reply-To header.
- parse(String) - Static method in class org.apache.james.mime4j.field.address.Group
-
Parses the specified raw string into a group address.
- parse(String) - Static method in class org.apache.james.mime4j.field.address.Mailbox
-
Parses the specified raw string into a mailbox address.
- parse(String, String, ByteSequence) - Method in class org.apache.james.mime4j.field.DelegatingFieldParser
-
- parse(String, String, ByteSequence) - Method in interface org.apache.james.mime4j.field.FieldParser
-
- parse(InputStream) - Method in class org.apache.james.mime4j.parser.MimeStreamParser
-
Parses a stream of bytes containing a MIME message.
- parse(InputStream) - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Instructs the MimeTokenStream
to parse the given streams contents.
- ParsedField - Interface in org.apache.james.mime4j.field
-
- ParseException - Exception in org.apache.james.mime4j.field
-
This exception is thrown when parse errors are encountered.
- ParseException(String) - Constructor for exception org.apache.james.mime4j.field.ParseException
-
Constructs a new parse exception with the specified detail message.
- ParseException(Throwable) - Constructor for exception org.apache.james.mime4j.field.ParseException
-
Constructs a new parse exception with the specified cause.
- ParseException(String, Throwable) - Constructor for exception org.apache.james.mime4j.field.ParseException
-
Constructs a new parse exception with the specified detail message and
cause.
- parseField() - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
- parseHeadless(InputStream, String) - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Instructs the MimeTokenStream
to parse the given content with
the content type.
- pos() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- position - Variable in class org.apache.james.mime4j.io.PositionInputStream
-
- PositionInputStream - Class in org.apache.james.mime4j.io
-
- PositionInputStream(InputStream) - Constructor for class org.apache.james.mime4j.io.PositionInputStream
-
- preamble(InputStream) - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- preamble(InputStream) - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- preamble(InputStream) - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called for the preamble (whatever comes before the first body part)
of a multipart/*
entity.
- print() - Method in class org.apache.james.mime4j.field.address.AddressList
-
Dumps a representation of this address list to stdout, for debugging
purposes.
- print() - Method in class org.apache.james.mime4j.field.address.MailboxList
-
Dumps a representation of this mailbox list to stdout, for debugging
purposes.
- print() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- SENDER - Static variable in class org.apache.james.mime4j.field.FieldName
-
- sender(Mailbox) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Sender field for the specified mailbox address.
- setBcc(Address) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Bcc header field of this message to the specified
address.
- setBcc(Address...) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Bcc header field of this message to the specified
addresses.
- setBcc(Collection<Address>) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Bcc header field of this message to the specified
addresses.
- setBody(Body) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the body of this entity.
- setBody(Body, String) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the body of this entity and sets the content-type to the specified
value.
- setBody(Body, String, Map<String, String>) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the body of this entity and sets the content-type to the specified
value.
- setBodyParts(List<BodyPart>) - Method in class org.apache.james.mime4j.message.Multipart
-
Sets the list of body parts.
- setCc(Address) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Cc header field of this message to the specified
address.
- setCc(Address...) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Cc header field of this message to the specified
addresses.
- setCc(Collection<Address>) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Cc header field of this message to the specified
addresses.
- setContentDecoding(boolean) - Method in class org.apache.james.mime4j.parser.MimeStreamParser
-
Defines whether parser should automatically decode body content
based on the on the MIME fields with the standard defaults.
- setContentDisposition(String) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the content disposition of this Entity
to the
specified disposition type.
- setContentDisposition(String, String) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the content disposition of this Entity
to the
specified disposition type and filename.
- setContentDisposition(String, String, long) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the content disposition of this Entity
to the
specified values.
- setContentDisposition(String, String, long, Date, Date, Date) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the content disposition of this Entity
to the
specified values.
- setContentHandler(ContentHandler) - Method in class org.apache.james.mime4j.parser.MimeStreamParser
-
Sets the ContentHandler
to use when reporting
parsing events.
- setContentTransferEncoding(String) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the transfer encoding of this Entity
to the specified
value.
- setCountLineNumbers(boolean) - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Defines whether the parser should count line numbers.
- setDate(Date) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Date header field for this message.
- setDate(Date, TimeZone) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Date header field for this message.
- setEpilogue(String) - Method in class org.apache.james.mime4j.message.Multipart
-
Sets the epilogue.
- setField(Field) - Method in class org.apache.james.mime4j.message.Header
-
Sets or replaces a field.
- setFieldParser(String, FieldParser) - Method in class org.apache.james.mime4j.field.DelegatingFieldParser
-
Sets the parser used for the field named name
.
- setFilename(String) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the filename parameter of the content disposition of this
Entity
to the specified value.
- setFrom(Mailbox) - Method in class org.apache.james.mime4j.message.Message
-
Sets the From header field of this message to the specified
mailbox address.
- setFrom(Mailbox...) - Method in class org.apache.james.mime4j.message.Message
-
Sets the From header field of this message to the specified
mailbox addresses.
- setFrom(Collection<Mailbox>) - Method in class org.apache.james.mime4j.message.Message
-
Sets the From header field of this message to the specified
mailbox addresses.
- setHeader(Header) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the entity header.
- setInstance(StorageProvider) - Static method in class org.apache.james.mime4j.storage.DefaultStorageProvider
-
- setLength(int) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- setMaxContentLen(long) - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Sets the maximum content length limit.
- setMaxHeaderCount(int) - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Sets the maximum header limit.
- setMaximalBodyDescriptor(boolean) - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
- setMaxLineLen(int) - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Sets the maximum line length limit.
- setMessage(Message) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the specified message as body of this entity and the content type to
"message/rfc822".
- setMultipart(Multipart) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the specified multipart as body of this entity.
- setMultipart(Multipart, Map<String, String>) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the specified multipart as body of this entity.
- setParent(Entity) - Method in interface org.apache.james.mime4j.message.Body
-
Sets the parent of this body.
- setParent(Entity) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the parent entity of this entity.
- setParent(Entity) - Method in class org.apache.james.mime4j.message.Multipart
-
- setParent(Entity) - Method in class org.apache.james.mime4j.message.SingleBody
-
- setPreamble(String) - Method in class org.apache.james.mime4j.message.Multipart
-
Sets the preamble.
- setRaw(boolean) - Method in class org.apache.james.mime4j.parser.MimeStreamParser
-
Enables or disables raw mode.
- setRecursionMode(int) - Method in interface org.apache.james.mime4j.parser.EntityStateMachine
-
Sets the current recursion mode.
- setRecursionMode(int) - Method in class org.apache.james.mime4j.parser.MimeEntity
-
- setRecursionMode(int) - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Sets the current recursion.
- setRecursionMode(int) - Method in class org.apache.james.mime4j.parser.RawEntity
-
This method has no effect.
- setReplyTo(Address) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Reply-To header field of this message to the specified
address.
- setReplyTo(Address...) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Reply-To header field of this message to the specified
addresses.
- setReplyTo(Collection<Address>) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Reply-To header field of this message to the specified
addresses.
- setSender(Mailbox) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Sender header field of this message to the specified
mailbox address.
- setStrictParsing(boolean) - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
Defines whether minor violations of the MIME specification should be
tolerated or should result in a
MimeException
.
- setSubject(String) - Method in class org.apache.james.mime4j.message.Message
-
Sets the Subject header field for this message.
- setSubType(String) - Method in class org.apache.james.mime4j.message.Multipart
-
Sets the multipart sub-type.
- setText(TextBody) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the specified TextBody
as body of this entity and the
content type to "text/plain".
- setText(TextBody, String) - Method in class org.apache.james.mime4j.message.Entity
-
Sets the specified TextBody
as body of this entity.
- setTo(Address) - Method in class org.apache.james.mime4j.message.Message
-
Sets the To header field of this message to the specified
address.
- setTo(Address...) - Method in class org.apache.james.mime4j.message.Message
-
Sets the To header field of this message to the specified
addresses.
- setTo(Collection<Address>) - Method in class org.apache.james.mime4j.message.Message
-
Sets the To header field of this message to the specified
addresses.
- SimpleContentHandler - Class in org.apache.james.mime4j.message
-
Abstract implementation of ContentHandler that automates common
tasks.
- SimpleContentHandler() - Constructor for class org.apache.james.mime4j.message.SimpleContentHandler
-
- SingleBody - Class in org.apache.james.mime4j.message
-
Abstract implementation of a single message body; that is, a body that does
not contain (directly or indirectly) any other child bodies.
- SingleBody() - Constructor for class org.apache.james.mime4j.message.SingleBody
-
Sole constructor.
- size() - Method in class org.apache.james.mime4j.field.address.AddressList
-
The number of elements in this list.
- size() - Method in class org.apache.james.mime4j.field.address.DomainList
-
The number of elements in this list.
- size() - Method in class org.apache.james.mime4j.field.address.MailboxList
-
The number of elements in this list.
- skip(int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- skip(long) - Method in class org.apache.james.mime4j.io.LimitedInputStream
-
- skip(long) - Method in class org.apache.james.mime4j.io.PositionInputStream
-
- skipHeader(String) - Method in class org.apache.james.mime4j.parser.MimeEntity
-
- SP - Static variable in class org.apache.james.mime4j.util.CharsetUtil
-
US-ASCII SP, space (32)
- startBodyPart() - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- startBodyPart() - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- startBodyPart() - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when a new body part starts inside a
multipart/*
entity.
- startHeader() - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- startHeader() - Method in class org.apache.james.mime4j.message.SimpleContentHandler
-
- startHeader() - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- startHeader() - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when a header (of a message or body part) is about to be parsed.
- startMessage() - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- startMessage() - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- startMessage() - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when a new message starts (a top level message or an embedded
rfc822 message).
- startMultipart(BodyDescriptor) - Method in class org.apache.james.mime4j.message.MessageBuilder
-
- startMultipart(BodyDescriptor) - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
-
- startMultipart(BodyDescriptor) - Method in interface org.apache.james.mime4j.parser.ContentHandler
-
Called when the body of a multipart entity is about to be parsed.
- startState - Variable in class org.apache.james.mime4j.parser.AbstractEntity
-
- state - Variable in class org.apache.james.mime4j.parser.AbstractEntity
-
- stateToString(int) - Static method in class org.apache.james.mime4j.parser.AbstractEntity
-
Renders a state as a string suitable for logging.
- stateToString(int) - Static method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Renders a state as a string suitable for logging.
- stop() - Method in class org.apache.james.mime4j.parser.MimeStreamParser
-
Finishes the parsing and stops reading lines.
- stop() - Method in class org.apache.james.mime4j.parser.MimeTokenStream
-
Finishes the parsing and stops reading lines.
- Storage - Interface in org.apache.james.mime4j.storage
-
- StorageOutputStream - Class in org.apache.james.mime4j.storage
-
This class implements an output stream that can be used to create a
Storage
object.
- StorageOutputStream() - Constructor for class org.apache.james.mime4j.storage.StorageOutputStream
-
Sole constructor.
- StorageProvider - Interface in org.apache.james.mime4j.storage
-
Provides a strategy for storing the contents of an InputStream
or retrieving the content written to an OutputStream
.
- store(InputStream) - Method in class org.apache.james.mime4j.storage.AbstractStorageProvider
-
- store(InputStream) - Method in interface org.apache.james.mime4j.storage.StorageProvider
-
Stores the contents of the given InputStream
.
- StringArrayMap - Class in org.apache.james.mime4j.util
-
An object, which may be used to implement header, or parameter
maps.
- StringArrayMap() - Constructor for class org.apache.james.mime4j.util.StringArrayMap
-
- SUBJECT - Static variable in class org.apache.james.mime4j.field.FieldName
-
- subject(String) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a Subject field from the specified string value.
- T_BODY - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that an atomic entity is being parsed.
- T_END_BODYPART - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that the MIME stream is currently
at the end of a body part.
- T_END_HEADER - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that part headers have now been
parsed.
- T_END_MESSAGE - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that the MIME stream is currently
at the end of a message.
- T_END_MULTIPART - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that a multipart body has been parsed.
- T_END_OF_STREAM - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that the MIME stream has been completely
and successfully parsed, and no more data is available.
- T_EPILOGUE - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that a multiparts epilogue is being
parsed.
- T_FIELD - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that a message parts field has now
been parsed.
- T_PREAMBLE - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that a multiparts preamble is being
parsed.
- T_RAW_ENTITY - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that a raw entity is currently being processed.
- T_START_BODYPART - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that the MIME stream is currently
at the beginning of a body part.
- T_START_HEADER - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that a message parts headers are now
being parsed.
- T_START_MESSAGE - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that the MIME stream is currently
at the beginning of a message.
- T_START_MULTIPART - Static variable in interface org.apache.james.mime4j.parser.EntityStates
-
This token indicates, that a multipart body is being parsed.
- TempFileStorageProvider - Class in org.apache.james.mime4j.storage
-
- TempFileStorageProvider() - Constructor for class org.apache.james.mime4j.storage.TempFileStorageProvider
-
Equivalent to using constructor
TempFileStorageProvider("m4j", null, null)
.
- TempFileStorageProvider(File) - Constructor for class org.apache.james.mime4j.storage.TempFileStorageProvider
-
Equivalent to using constructor
TempFileStorageProvider("m4j", null, directory)
.
- TempFileStorageProvider(String, String, File) - Constructor for class org.apache.james.mime4j.storage.TempFileStorageProvider
-
Creates a new TempFileStorageProvider
using the given
values.
- textBody(InputStream) - Method in class org.apache.james.mime4j.message.BodyFactory
-
Creates a
TextBody
that holds the content of the given input
stream.
- textBody(InputStream, String) - Method in class org.apache.james.mime4j.message.BodyFactory
-
Creates a
TextBody
that holds the content of the given input
stream.
- textBody(Storage) - Method in class org.apache.james.mime4j.message.BodyFactory
-
- textBody(Storage, String) - Method in class org.apache.james.mime4j.message.BodyFactory
-
- textBody(String) - Method in class org.apache.james.mime4j.message.BodyFactory
-
Creates a
TextBody
that holds the content of the given string.
- textBody(String, String) - Method in class org.apache.james.mime4j.message.BodyFactory
-
Creates a
TextBody
that holds the content of the given string.
- TextBody - Class in org.apache.james.mime4j.message
-
Encapsulates the contents of a text/*
entity body.
- TextBody() - Constructor for class org.apache.james.mime4j.message.TextBody
-
Sole constructor.
- ThresholdStorageProvider - Class in org.apache.james.mime4j.storage
-
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.
- ThresholdStorageProvider(StorageProvider) - Constructor for class org.apache.james.mime4j.storage.ThresholdStorageProvider
-
Creates a new ThresholdStorageProvider
for the given
back-end using a threshold size of 2048 bytes.
- ThresholdStorageProvider(StorageProvider, int) - Constructor for class org.apache.james.mime4j.storage.ThresholdStorageProvider
-
Creates a new ThresholdStorageProvider
for the given
back-end and threshold size.
- TO - Static variable in class org.apache.james.mime4j.field.FieldName
-
- to(Address) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a To field for the specified mailbox or group address.
- to(Address...) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a To field for the specified mailbox or group addresses.
- to(Iterable<Address>) - Static method in class org.apache.james.mime4j.field.Fields
-
Creates a To field for the specified mailbox or group addresses.
- toByteArray() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- toByteArray() - Method in interface org.apache.james.mime4j.util.ByteSequence
-
Copies the contents of this byte sequence into a newly allocated byte
array and returns that array.
- toJavaCharset(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Gets the canonical Java character set name for the specified
character set or null
if not known.
- toMimeCharset(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
-
Gets the preferred MIME character set name for the specified
character set or null
if not known.
- toRouteString() - Method in class org.apache.james.mime4j.field.address.DomainList
-
Returns the list of domains formatted as a route string (not including
the trailing ':').
- toStorage() - Method in class org.apache.james.mime4j.storage.StorageOutputStream
-
Closes this output stream if it has not already been closed and returns a
Storage
object which contains the bytes that have been written to
this output stream.
- toStorage0() - Method in class org.apache.james.mime4j.storage.StorageOutputStream
-
Has to be implemented by a concrete subclass to create a
Storage
object from the bytes that have been written to this
StorageOutputStream
.
- toString() - Method in class org.apache.james.mime4j.descriptor.DefaultBodyDescriptor
-
- toString() - Method in class org.apache.james.mime4j.field.AbstractField
-
- toString() - Method in class org.apache.james.mime4j.field.address.Address
-
- toString() - Method in class org.apache.james.mime4j.field.address.DomainList
-
- toString() - Method in class org.apache.james.mime4j.field.datetime.DateTime
-
- toString() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- toString() - Method in class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
-
- toString() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
-
- toString() - Method in class org.apache.james.mime4j.message.Header
-
Return Header Object as String representation.
- toString() - Method in class org.apache.james.mime4j.parser.AbstractEntity
-
- toString() - Method in class org.apache.james.mime4j.parser.Event
-
- toString() - Method in class org.apache.james.mime4j.parser.MimeEntityConfig
-
- toString() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
-
- truncate() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
-
- TYPE_MESSAGE_RFC822 - Static variable in class org.apache.james.mime4j.field.ContentTypeField
-
The message/rfc822
MIME type.
- TYPE_MULTIPART_DIGEST - Static variable in class org.apache.james.mime4j.field.ContentTypeField
-
The multipart/digest
MIME type.
- TYPE_MULTIPART_PREFIX - Static variable in class org.apache.james.mime4j.field.ContentTypeField
-
The prefix of all multipart
MIME types.
- TYPE_TEXT_PLAIN - Static variable in class org.apache.james.mime4j.field.ContentTypeField
-
The text/plain
MIME type.