A B C D E F G H I L M N O P Q R S T U V W

A

AbstractContentHandler - Class in org.apache.james.mime4j.parser
Abstract base class for custom ContentHandler implementations.
AbstractContentHandler() - Constructor for class org.apache.james.mime4j.parser.AbstractContentHandler
 
addField(RawField) - Method in interface org.apache.james.mime4j.stream.BodyDescriptorBuilder
Updates builder's internal state by adding a new field.
advance() - Method in interface org.apache.james.mime4j.stream.EntityStateMachine
Advances the state machine to the next state in the process of the MIME stream parsing.
advance() - Method in class org.apache.james.mime4j.stream.RawEntity
 
append(ByteArrayBuffer) - Method in class org.apache.james.mime4j.stream.DefaultFieldBuilder
 
append(ByteArrayBuffer) - Method in interface org.apache.james.mime4j.stream.FieldBuilder
Updates builder's internal state by adding a new line of text.
append(byte[], int, int) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
append(int) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
atEnd() - Method in class org.apache.james.mime4j.stream.ParserCursor
 
available() - Method in class org.apache.james.mime4j.io.PositionInputStream
 

B

Base64InputStream - Class in org.apache.james.mime4j.codec
Performs Base-64 decoding on an underlying stream.
Base64InputStream(InputStream, DecodeMonitor) - Constructor for class org.apache.james.mime4j.codec.Base64InputStream
 
Base64InputStream(int, InputStream, DecodeMonitor) - Constructor for class org.apache.james.mime4j.codec.Base64InputStream
 
Base64InputStream(InputStream) - Constructor for class org.apache.james.mime4j.codec.Base64InputStream
 
Base64InputStream(InputStream, boolean) - Constructor for class org.apache.james.mime4j.codec.Base64InputStream
 
Base64OutputStream - Class in org.apache.james.mime4j.codec
This class implements section 6.8.
Base64OutputStream(OutputStream) - Constructor for class org.apache.james.mime4j.codec.Base64OutputStream
Creates a Base64OutputStream that writes the encoded data to the given output stream using the default line length (76) and line separator (CRLF).
Base64OutputStream(OutputStream, int) - Constructor for class org.apache.james.mime4j.codec.Base64OutputStream
Creates a Base64OutputStream that writes the encoded data to the given output stream using the given line length and the default line separator (CRLF).
Base64OutputStream(OutputStream, int, byte[]) - Constructor for class org.apache.james.mime4j.codec.Base64OutputStream
Creates a Base64OutputStream that writes the encoded data to the given output stream using the given line length and line separator.
body(BodyDescriptor, InputStream) - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
 
body(BodyDescriptor, InputStream) - Method in interface org.apache.james.mime4j.parser.ContentHandler
Called when the body of a discrete (non-multipart) entity is about to be parsed.
BodyDescriptor - Interface in org.apache.james.mime4j.stream
A descriptor containing common MIME content body properties.
BodyDescriptorBuilder - Interface in org.apache.james.mime4j.stream
Body descriptor builders are intended to construct BodyDescriptor instances from multiple unstructured RawFields.
buf() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
buffer() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
BufferedLineReaderInputStream - Class in org.apache.james.mime4j.io
Input buffer that can be used to search for patterns using Quick Search algorithm in data read from an InputStream.
BufferedLineReaderInputStream(InputStream, int, int) - Constructor for class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
BufferedLineReaderInputStream(InputStream, int) - Constructor for class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
build() - Method in interface org.apache.james.mime4j.stream.BodyDescriptorBuilder
Builds an instance of BodyDescriptor based on the internal state.
build() - Method in class org.apache.james.mime4j.stream.DefaultFieldBuilder
 
build() - Method in interface org.apache.james.mime4j.stream.FieldBuilder
Builds an instance of RawField based on the internal state.
ByteArrayBuffer - Class in org.apache.james.mime4j.util
A resizable byte array.
ByteArrayBuffer(int) - Constructor for class org.apache.james.mime4j.util.ByteArrayBuffer
 
ByteArrayBuffer(byte[], boolean) - Constructor for class org.apache.james.mime4j.util.ByteArrayBuffer
 
ByteArrayBuffer(byte[], int, boolean) - Constructor for class org.apache.james.mime4j.util.ByteArrayBuffer
 
byteAt(int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
byteAt(int) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
byteAt(int) - Method in interface org.apache.james.mime4j.util.ByteSequence
Returns the byte value at the specified index.
ByteSequence - Interface in org.apache.james.mime4j.util
An immutable sequence of bytes.

C

capacity() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
capacity() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
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
 
clear() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
clone() - Method in class org.apache.james.mime4j.stream.MimeConfig
 
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
 
CodecUtil - Class in org.apache.james.mime4j.codec
Utility methods related to codecs.
CodecUtil() - Constructor for class org.apache.james.mime4j.codec.CodecUtil
 
ContentDescriptor - Interface in org.apache.james.mime4j.stream
A descriptor containing common MIME content properties.
ContentHandler - Interface in org.apache.james.mime4j.parser
Receives notifications of the content of a plain RFC822 or MIME message.
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'
copy(InputStream, OutputStream) - Static method in class org.apache.james.mime4j.codec.CodecUtil
Copies the contents of one stream to the other.
copyContent(ByteSequence, ParserCursor, BitSet, StringBuilder) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Transfers content into the destination buffer until a whitespace character, a comment, or any of the given delimiters is encountered.
copyQuotedContent(ByteSequence, ParserCursor, StringBuilder) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Transfers content enclosed with quote marks into the destination buffer.
CR - Static variable in class org.apache.james.mime4j.util.CharsetUtil
US-ASCII CR, carriage return (13)
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

D

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.
decodeEncodedWords(String, DecodeMonitor) - Static method in class org.apache.james.mime4j.codec.DecoderUtil
Decodes a string containing encoded words as defined by RFC 2047.
DecodeMonitor - Class in org.apache.james.mime4j.codec
This class is used to drive how decoder/parser should deal with malformed and unexpected data. 2 basic implementations are provided: DecodeMonitor.STRICT return "true" on any occurrence DecodeMonitor.SILENT ignores any problem
DecodeMonitor() - Constructor for class org.apache.james.mime4j.codec.DecodeMonitor
 
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.stream.RawFieldParser
 
DEFAULT_CHARSET - Static variable in class org.apache.james.mime4j.util.CharsetUtil
 
DefaultFieldBuilder - Class in org.apache.james.mime4j.stream
Default implementation of FieldBuilder.
DefaultFieldBuilder(int) - Constructor for class org.apache.james.mime4j.stream.DefaultFieldBuilder
 

E

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.
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.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.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.parser.AbstractContentHandler
 
endMultipart() - Method in interface org.apache.james.mime4j.parser.ContentHandler
Called when the body of an entity has been parsed.
ensureCapacity(int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
EntityState - Enum in org.apache.james.mime4j.stream
Enumeration of states an entity is expected to go through in the process of the MIME stream parsing.
EntityStateMachine - Interface in org.apache.james.mime4j.stream
Represents the interal state of a MIME entity, which is being retrieved from an input stream by a MIME parser.
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.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.stream.Event
 
equals(Object) - Method in class org.apache.james.mime4j.stream.NameValuePair
 
equals(Object, Object) - Static method in class org.apache.james.mime4j.util.LangUtils
Check if two objects are equal.
equalsIgnoreCase(String, String) - Static method in class org.apache.james.mime4j.util.LangUtils
Check if two strings are equal, ignoring case considerations.
Event - Class in org.apache.james.mime4j.stream
Enumerates events which can be monitored.
Event(String) - Constructor for class org.apache.james.mime4j.stream.Event
 

F

field(Field) - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
 
field(Field) - Method in interface org.apache.james.mime4j.parser.ContentHandler
Called for each field of a header.
Field - Interface in org.apache.james.mime4j.stream
This interface represents an abstract MIME field.
FieldBuilder - Interface in org.apache.james.mime4j.stream
Field builders are intended to construct RawField instances from multiple lines contained in ByteArrayBuffers.
fillBuffer() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
flush() - Method in class org.apache.james.mime4j.codec.Base64OutputStream
 
flush() - Method in class org.apache.james.mime4j.codec.QuotedPrintableOutputStream
 
fold(String, int) - Static method in class org.apache.james.mime4j.util.MimeUtil
Splits the specified string into a multiple-line representation with lines no longer than 76 characters (because the line might contain encoded words; see RFC 2047 section 2).
formatDate(Date, TimeZone) - Static method in class org.apache.james.mime4j.util.MimeUtil
Formats the specified date into a RFC 822 date-time string.

G

getBody() - Method in interface org.apache.james.mime4j.stream.Field
Gets the unparsed and possibly encoded (see RFC 2047) field body string.
getBody() - Method in class org.apache.james.mime4j.stream.RawField
 
getBodyDescriptor() - Method in interface org.apache.james.mime4j.stream.EntityStateMachine
Returns description of the entity body.
getBodyDescriptor() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
Gets a descriptor for the current entity.
getBodyDescriptor() - Method in class org.apache.james.mime4j.stream.RawEntity
This method has no effect and always returns null.
getBoundary() - Method in interface org.apache.james.mime4j.stream.BodyDescriptor
Returns the body descriptors boundary.
getCause() - Method in exception org.apache.james.mime4j.MimeIOException
Returns the MimeException that caused this MimeIOException.
getCharset() - Method in interface org.apache.james.mime4j.stream.ContentDescriptor
The body descriptors character set, defaulted appropriately for the MIME type.
getConfig() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
 
getContentLength() - Method in interface org.apache.james.mime4j.stream.ContentDescriptor
Returns the body descriptors content-length.
getContentStream() - Method in interface org.apache.james.mime4j.stream.EntityStateMachine
Returns content stream of the entity body.
getContentStream() - Method in class org.apache.james.mime4j.stream.RawEntity
Returns raw data stream.
getDecodedContentStream() - Method in interface org.apache.james.mime4j.stream.EntityStateMachine
Returns the decoded content stream of the entity body.
getDecodedContentStream() - Method in class org.apache.james.mime4j.stream.RawEntity
 
getDecodedInputStream() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
This method returns a transfer decoded stream based on the MIME fields with the standard defaults.
getDelimiterIdx() - Method in class org.apache.james.mime4j.stream.RawField
 
getEvent() - Method in exception org.apache.james.mime4j.stream.MimeParseEventException
Gets the causal parse event.
getField() - Method in interface org.apache.james.mime4j.stream.EntityStateMachine
Returns current header field.
getField() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
This method is valid, if MimeTokenStream.getState() returns EntityState.T_FIELD.
getField() - Method in class org.apache.james.mime4j.stream.RawEntity
This method has no effect and always returns null.
getFieldName() - Method in class org.apache.james.mime4j.stream.RawEntity
This method has no effect and always returns null.
getFieldValue() - Method in class org.apache.james.mime4j.stream.RawEntity
This method has no effect and always returns null.
getHeadlessParsing() - Method in class org.apache.james.mime4j.stream.MimeConfig
Returns the value of the default content type.
getInputStream() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
This method returns the raw entity, preamble, or epilogue contents.
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).
getLowerBound() - Method in class org.apache.james.mime4j.stream.ParserCursor
 
getMaxContentLen() - Method in class org.apache.james.mime4j.stream.MimeConfig
Returns the maximum content length limit
getMaxHeaderCount() - Method in class org.apache.james.mime4j.stream.MimeConfig
Returns the maximum header limit
getMaxHeaderLen() - Method in class org.apache.james.mime4j.stream.MimeConfig
Returns the maximum header length limit
getMaxLineLen() - Method in class org.apache.james.mime4j.stream.MimeConfig
Returns the maximum line length limit
getMediaType() - Method in interface org.apache.james.mime4j.stream.ContentDescriptor
Gets the defaulted MIME media type for this content.
getMimeType() - Method in interface org.apache.james.mime4j.stream.ContentDescriptor
Returns the body descriptors MIME type.
getName() - Method in interface org.apache.james.mime4j.stream.Field
Returns the name of the field.
getName() - Method in class org.apache.james.mime4j.stream.NameValuePair
 
getName() - Method in class org.apache.james.mime4j.stream.RawField
 
getParams() - Method in class org.apache.james.mime4j.stream.RawBody
 
getPos() - Method in class org.apache.james.mime4j.stream.ParserCursor
 
getPosition() - Method in class org.apache.james.mime4j.io.PositionInputStream
 
getRaw() - Method in class org.apache.james.mime4j.stream.DefaultFieldBuilder
 
getRaw() - Method in interface org.apache.james.mime4j.stream.Field
Gets original (raw) representation of the field, if available, null otherwise.
getRaw() - Method in interface org.apache.james.mime4j.stream.FieldBuilder
Returns combined content of all lines processed so far or null if the builder does not retain original raw content.
getRaw() - Method in class org.apache.james.mime4j.stream.RawField
 
getReader() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
Gets a reader configured for the current body or body part.
getRecursionMode() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
Gets the current recursion mode.
getState() - Method in interface org.apache.james.mime4j.stream.EntityStateMachine
Return the current state of the entity.
getState() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
Returns the current state.
getState() - Method in class org.apache.james.mime4j.stream.RawEntity
 
getSubType() - Method in interface org.apache.james.mime4j.stream.ContentDescriptor
Gets the defaulted MIME sub type for this content.
getTransferEncoding() - Method in interface org.apache.james.mime4j.stream.ContentDescriptor
Returns the body descriptors transfer encoding.
getUpperBound() - Method in class org.apache.james.mime4j.stream.ParserCursor
 
getValue() - Method in class org.apache.james.mime4j.stream.NameValuePair
 
getValue() - Method in class org.apache.james.mime4j.stream.RawBody
 

H

hasBufferedData() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
HASH_OFFSET - Static variable in class org.apache.james.mime4j.util.LangUtils
 
HASH_SEED - Static variable in class org.apache.james.mime4j.util.LangUtils
 
hashCode() - Method in class org.apache.james.mime4j.stream.Event
 
hashCode() - Method in class org.apache.james.mime4j.stream.NameValuePair
 
hashCode(int, int) - Static method in class org.apache.james.mime4j.util.LangUtils
 
hashCode(int, boolean) - Static method in class org.apache.james.mime4j.util.LangUtils
 
hashCode(int, Object) - Static method in class org.apache.james.mime4j.util.LangUtils
 
hasToBeEncoded(String, int) - Static method in class org.apache.james.mime4j.codec.EncoderUtil
Determines if the specified string has to encoded into an encoded-word.
HEADERS_PREMATURE_END - Static variable in class org.apache.james.mime4j.stream.Event
Indicates that unexpected end of headers detected.
HT - Static variable in class org.apache.james.mime4j.util.CharsetUtil
US-ASCII HT, horizontal-tab (9)

I

indexOf(byte[], int, int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
Implements quick search algorithm as published by SUNDAY D.M., 1990, A very fast substring search algorithm, Communications of the ACM . 33(8):132-142.
indexOf(byte[]) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
Implements quick search algorithm as published by SUNDAY D.M., 1990, A very fast substring search algorithm, Communications of the ACM . 33(8):132-142.
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
 
INIT_BITSET(int...) - Static method in class org.apache.james.mime4j.stream.RawFieldParser
 
INVALID_HEADER - Static variable in class org.apache.james.mime4j.stream.Event
Indicates that unexpected end of headers detected.
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.
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.stream.MimeConfig
Returns the value of the line number counting mode.
isEmpty() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
isEmptyStream() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
isFull() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
isFullyConsumed() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
isLastPart() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
isListening() - Method in class org.apache.james.mime4j.codec.DecodeMonitor
 
isMalformedHeaderStartsBody() - Method in class org.apache.james.mime4j.stream.MimeConfig
 
isMessage(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
Returns true, if the given MIME type is that of a message.
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.stream.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.stream.MimeConfig
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
 
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.

L

LangUtils - Class in org.apache.james.mime4j.util
A set of utility methods to help produce consistent equals and hashCode methods.
length() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
length() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
length() - Method in interface org.apache.james.mime4j.util.ByteSequence
Returns the length of this byte sequence.
LF - Static variable in class org.apache.james.mime4j.util.CharsetUtil
US-ASCII LF, line feed (10)
limit() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
LimitedInputStream - Class in org.apache.james.mime4j.io
 
LimitedInputStream(InputStream, long) - Constructor for class org.apache.james.mime4j.io.LimitedInputStream
 
LineNumberInputStream - Class in org.apache.james.mime4j.io
InputStream used by the parser to wrap the original user supplied stream.
LineNumberInputStream(InputStream) - Constructor for class org.apache.james.mime4j.io.LineNumberInputStream
Creates a new LineNumberInputStream.
LineNumberSource - Interface in org.apache.james.mime4j.io
 
LineReaderInputStream - Class in org.apache.james.mime4j.io
Input stream capable of reading lines of text.
LineReaderInputStream(InputStream) - Constructor for class org.apache.james.mime4j.io.LineReaderInputStream
 
LineReaderInputStreamAdaptor - Class in org.apache.james.mime4j.io
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.
LineReaderInputStreamAdaptor(InputStream, int) - Constructor for class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
 
LineReaderInputStreamAdaptor(InputStream) - Constructor for class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
 
lookup(String) - Static method in class org.apache.james.mime4j.util.CharsetUtil
Returns a Charset instance if character set with the given name is recognized and supported by Java runtime.

M

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
 
MaxHeaderLengthLimitException - Exception in org.apache.james.mime4j.io
Signals a I/O error due to the total header length exceeding the maximum limit.
MaxHeaderLengthLimitException(String) - Constructor for exception org.apache.james.mime4j.io.MaxHeaderLengthLimitException
 
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
 
MaxLineLimitException - Exception in org.apache.james.mime4j.io
Signals an 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
 
MIME_BODY_PREMATURE_END - Static variable in class org.apache.james.mime4j.stream.Event
Indicates that a body part ended prematurely.
MimeBoundaryInputStream - Class in org.apache.james.mime4j.io
Stream that constrains itself to a single MIME body part.
MimeBoundaryInputStream(BufferedLineReaderInputStream, String, boolean) - Constructor for class org.apache.james.mime4j.io.MimeBoundaryInputStream
Creates a new MimeBoundaryInputStream.
MimeBoundaryInputStream(BufferedLineReaderInputStream, String) - Constructor for class org.apache.james.mime4j.io.MimeBoundaryInputStream
Creates a new MimeBoundaryInputStream.
MimeConfig - Class in org.apache.james.mime4j.stream
Properties used to configure the behavior of MIME stream parsers.
MimeConfig() - Constructor for class org.apache.james.mime4j.stream.MimeConfig
 
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(MimeException) - Constructor for exception org.apache.james.mime4j.MimeIOException
Constructs an IO exception based on MimeException.
MimeParseEventException - Exception in org.apache.james.mime4j.stream
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.stream.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(MimeTokenStream) - Constructor for class org.apache.james.mime4j.parser.MimeStreamParser
 
MimeStreamParser(MimeConfig, DecodeMonitor, BodyDescriptorBuilder) - Constructor for class org.apache.james.mime4j.parser.MimeStreamParser
 
MimeStreamParser(MimeConfig) - 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.stream
Parses MIME (or RFC822) message streams of bytes or characters.
MimeTokenStream() - Constructor for class org.apache.james.mime4j.stream.MimeTokenStream
Constructs a standard (lax) stream.
MimeTokenStream(MimeConfig) - Constructor for class org.apache.james.mime4j.stream.MimeTokenStream
 
MimeTokenStream(MimeConfig, BodyDescriptorBuilder) - Constructor for class org.apache.james.mime4j.stream.MimeTokenStream
 
MimeTokenStream(MimeConfig, DecodeMonitor, BodyDescriptorBuilder) - Constructor for class org.apache.james.mime4j.stream.MimeTokenStream
 
MimeTokenStream(MimeConfig, DecodeMonitor, FieldBuilder, BodyDescriptorBuilder) - Constructor for class org.apache.james.mime4j.stream.MimeTokenStream
 
MimeUtil - Class in org.apache.james.mime4j.util
A utility class, which provides some MIME related application logic.

N

NameValuePair - Class in org.apache.james.mime4j.stream
A name / value tuple
NameValuePair(String, String) - Constructor for class org.apache.james.mime4j.stream.NameValuePair
 
newChild() - Method in interface org.apache.james.mime4j.stream.BodyDescriptorBuilder
Creates an instance of BodyDescriptorBuilder to be used for processing of an embedded content body.
next() - Method in class org.apache.james.mime4j.stream.MimeTokenStream
This method advances the token stream to the next token.

O

OBSOLETE_HEADER - Static variable in class org.apache.james.mime4j.stream.Event
Indicates that an obsolete syntax header has been detected
org.apache.james.mime4j - package org.apache.james.mime4j
 
org.apache.james.mime4j.codec - package org.apache.james.mime4j.codec
 
org.apache.james.mime4j.io - package org.apache.james.mime4j.io
 
org.apache.james.mime4j.parser - package org.apache.james.mime4j.parser
 
org.apache.james.mime4j.stream - package org.apache.james.mime4j.stream
 
org.apache.james.mime4j.util - package org.apache.james.mime4j.util
 

P

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.stream.MimeTokenStream
Instructs the MimeTokenStream to parse the given streams contents.
parseField(ByteSequence) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Parses the sequence of bytes into RawField.
parseHeadless(InputStream, String) - Method in class org.apache.james.mime4j.stream.MimeTokenStream
Instructs the MimeTokenStream to parse the given content with the content type.
parseParameter(ByteSequence, ParserCursor) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Parses the sequence of bytes containing a field parameter delimited with semicolon into NameValuePair.
parseParameters(ByteSequence, ParserCursor) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Parses the sequence of bytes containing field parameters delimited with semicolon into a list of NameValuePairs.
parseRawBody(RawField) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Parses the field body containing a value with parameters into RawBody.
parseRawBody(ByteSequence, ParserCursor) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Parses the sequence of bytes containing a value with parameters into RawBody.
ParserCursor - Class in org.apache.james.mime4j.stream
This class represents a context of a parsing operation: the current position the parsing operation is expected to start at the bounds limiting the scope of the parsing operation

Copied from Apache HttpCore project

ParserCursor(int, int) - Constructor for class org.apache.james.mime4j.stream.ParserCursor
 
parseToken(ByteSequence, ParserCursor, BitSet) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Extracts from the sequence of bytes a token terminated with any of the given delimiters discarding semantically insignificant whitespace characters and comments.
parseValue(ByteSequence, ParserCursor, BitSet) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Extracts from the sequence of bytes a value which can be enclosed in quote marks and terminated with any of the given delimiters discarding semantically insignificant whitespace characters and comments.
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.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.

Q

QuotedPrintableInputStream - Class in org.apache.james.mime4j.codec
Performs Quoted-Printable decoding on an underlying stream.
QuotedPrintableInputStream(InputStream, DecodeMonitor) - Constructor for class org.apache.james.mime4j.codec.QuotedPrintableInputStream
 
QuotedPrintableInputStream(int, InputStream, DecodeMonitor) - Constructor for class org.apache.james.mime4j.codec.QuotedPrintableInputStream
 
QuotedPrintableInputStream(int, InputStream, boolean) - Constructor for class org.apache.james.mime4j.codec.QuotedPrintableInputStream
 
QuotedPrintableInputStream(InputStream, boolean) - Constructor for class org.apache.james.mime4j.codec.QuotedPrintableInputStream
 
QuotedPrintableInputStream(InputStream) - Constructor for class org.apache.james.mime4j.codec.QuotedPrintableInputStream
 
QuotedPrintableOutputStream - Class in org.apache.james.mime4j.codec
Performs Quoted-Printable encoding on an underlying stream.
QuotedPrintableOutputStream(int, OutputStream, boolean) - Constructor for class org.apache.james.mime4j.codec.QuotedPrintableOutputStream
 
QuotedPrintableOutputStream(OutputStream, boolean) - Constructor for class org.apache.james.mime4j.codec.QuotedPrintableOutputStream
 

R

raw(InputStream) - Method in class org.apache.james.mime4j.parser.AbstractContentHandler
 
raw(InputStream) - Method in interface org.apache.james.mime4j.parser.ContentHandler
Called when a new entity (message or body part) starts and the parser is in raw mode.
RawBody - Class in org.apache.james.mime4j.stream
This class represents a field's body consisting of a textual value and a number of optional name / value parameters separated with semicolon.
RawEntity - Class in org.apache.james.mime4j.stream
Raw MIME entity.
RawField - Class in org.apache.james.mime4j.stream
Raw (unstructured) MIME field.
RawField(String, String) - Constructor for class org.apache.james.mime4j.stream.RawField
 
RawFieldParser - Class in org.apache.james.mime4j.stream
Low level parser for header field elements.
RawFieldParser() - Constructor for class org.apache.james.mime4j.stream.RawFieldParser
 
read() - Method in class org.apache.james.mime4j.codec.Base64InputStream
 
read(byte[]) - Method in class org.apache.james.mime4j.codec.Base64InputStream
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.codec.Base64InputStream
 
read() - Method in class org.apache.james.mime4j.codec.QuotedPrintableInputStream
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.codec.QuotedPrintableInputStream
 
read() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
read(byte[]) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
read() - Method in class org.apache.james.mime4j.io.EOLConvertingInputStream
 
read() - Method in class org.apache.james.mime4j.io.LimitedInputStream
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.io.LimitedInputStream
 
read() - Method in class org.apache.james.mime4j.io.LineNumberInputStream
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.io.LineNumberInputStream
 
read() - Method in class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
 
read() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
read() - Method in class org.apache.james.mime4j.io.PositionInputStream
 
read(byte[], int, int) - Method in class org.apache.james.mime4j.io.PositionInputStream
 
readAllowed() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
readAllowed() - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
readLine(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
readLine(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.LineReaderInputStream
Reads one line of text into the given ByteArrayBuffer.
readLine(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
 
readLine(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
RecursionMode - Enum in org.apache.james.mime4j.stream
Enumeration of parsing modes.
remove(int, int) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
reset() - Method in class org.apache.james.mime4j.io.PositionInputStream
 
reset() - Method in interface org.apache.james.mime4j.stream.BodyDescriptorBuilder
Resets the internal state of the builder making it ready to process new input.
reset() - Method in class org.apache.james.mime4j.stream.DefaultFieldBuilder
 
reset() - Method in interface org.apache.james.mime4j.stream.FieldBuilder
Resets the internal state of the builder making it ready to process new input.

S

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.
setContentHandler(ContentHandler) - Method in class org.apache.james.mime4j.parser.MimeStreamParser
Sets the ContentHandler to use when reporting parsing events.
setCountLineNumbers(boolean) - Method in class org.apache.james.mime4j.stream.MimeConfig
Defines whether the parser should count line numbers.
setFlat() - Method in class org.apache.james.mime4j.parser.MimeStreamParser
Enables flat mode.
setHeadlessParsing(String) - Method in class org.apache.james.mime4j.stream.MimeConfig
Defines a default content type.
setLength(int) - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
setMalformedHeaderStartsBody(boolean) - Method in class org.apache.james.mime4j.stream.MimeConfig
Define the behaviour for dealing with malformed headers while in lenient mode
setMaxContentLen(long) - Method in class org.apache.james.mime4j.stream.MimeConfig
Sets the maximum content length limit.
setMaxHeaderCount(int) - Method in class org.apache.james.mime4j.stream.MimeConfig
Sets the maximum header limit.
setMaxHeaderLen(int) - Method in class org.apache.james.mime4j.stream.MimeConfig
Sets the maximum header length limit.
setMaxLineLen(int) - Method in class org.apache.james.mime4j.stream.MimeConfig
Sets the maximum line length limit.
setRaw() - Method in class org.apache.james.mime4j.parser.MimeStreamParser
Enables raw mode.
setRecurse() - Method in class org.apache.james.mime4j.parser.MimeStreamParser
Enables recursive mode.
setRecursionMode(RecursionMode) - Method in interface org.apache.james.mime4j.stream.EntityStateMachine
Sets the current recursion mode.
setRecursionMode(RecursionMode) - Method in class org.apache.james.mime4j.stream.MimeTokenStream
Sets the current recursion.
setRecursionMode(RecursionMode) - Method in class org.apache.james.mime4j.stream.RawEntity
This method has no effect.
setStrictParsing(boolean) - Method in class org.apache.james.mime4j.stream.MimeConfig
Defines whether minor violations of the MIME specification should be tolerated or should result in a MimeException.
SILENT - Static variable in class org.apache.james.mime4j.codec.DecodeMonitor
The SILENT monitor ignore requests.
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.LineReaderInputStreamAdaptor
 
skip(long) - Method in class org.apache.james.mime4j.io.PositionInputStream
 
skipAllWhiteSpace(ByteSequence, ParserCursor) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Skips semantically insignificant whitespace characters and comments and moves the cursor to the closest semantically significant non-whitespace character.
skipComment(ByteSequence, ParserCursor) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Skips semantically insignificant content if the current position is positioned at the beginning of a comment and moves the cursor past the end of the comment.
skipWhiteSpace(ByteSequence, ParserCursor) - Method in class org.apache.james.mime4j.stream.RawFieldParser
Skips semantically insignificant whitespace characters and moves the cursor to the closest non-whitespace character.
SP - Static variable in class org.apache.james.mime4j.util.CharsetUtil
US-ASCII SP, space (32)
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.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.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.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.
stateToString(EntityState) - Static method in class org.apache.james.mime4j.stream.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.stream.MimeTokenStream
Finishes the parsing and stops reading lines.
STRICT - Static variable in class org.apache.james.mime4j.codec.DecodeMonitor
The STRICT monitor throws an exception on every event.

T

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.
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.stream.Event
 
toString() - Method in class org.apache.james.mime4j.stream.MimeConfig
 
toString() - Method in class org.apache.james.mime4j.stream.NameValuePair
 
toString() - Method in class org.apache.james.mime4j.stream.ParserCursor
 
toString() - Method in class org.apache.james.mime4j.stream.RawBody
 
toString() - Method in class org.apache.james.mime4j.stream.RawField
 
toString() - Method in class org.apache.james.mime4j.util.ByteArrayBuffer
 
truncate() - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 

U

unfold(String) - Static method in class org.apache.james.mime4j.util.MimeUtil
Unfold a multiple-line representation into a single line.
unread(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.BufferedLineReaderInputStream
 
unread(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.LineReaderInputStream
Tries to unread the last read line.
unread(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.LineReaderInputStreamAdaptor
 
unread(ByteArrayBuffer) - Method in class org.apache.james.mime4j.io.MimeBoundaryInputStream
 
updatePos(int) - Method in class org.apache.james.mime4j.stream.ParserCursor
 
US_ASCII - Static variable in class org.apache.james.mime4j.util.CharsetUtil
 
UTF_8 - Static variable in class org.apache.james.mime4j.util.CharsetUtil
 

V

valueOf(String) - Static method in enum org.apache.james.mime4j.codec.EncoderUtil.Encoding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.james.mime4j.codec.EncoderUtil.Usage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.james.mime4j.stream.EntityState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.james.mime4j.stream.RecursionMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.james.mime4j.codec.EncoderUtil.Encoding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.james.mime4j.codec.EncoderUtil.Usage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.james.mime4j.stream.EntityState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.james.mime4j.stream.RecursionMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(String, String) - Method in class org.apache.james.mime4j.codec.DecodeMonitor
 
wrapBase64(OutputStream) - Static method in class org.apache.james.mime4j.codec.CodecUtil
Wraps the given stream in a Base64 encoder.
wrapQuotedPrintable(OutputStream, boolean) - Static method in class org.apache.james.mime4j.codec.CodecUtil
Wraps the given stream in a Quoted-Printable encoder.
write(int) - Method in class org.apache.james.mime4j.codec.Base64OutputStream
 
write(byte[]) - Method in class org.apache.james.mime4j.codec.Base64OutputStream
 
write(byte[], int, int) - Method in class org.apache.james.mime4j.codec.Base64OutputStream
 
write(int) - Method in class org.apache.james.mime4j.codec.QuotedPrintableOutputStream
 
write(byte[], int, int) - Method in class org.apache.james.mime4j.codec.QuotedPrintableOutputStream
 

A B C D E F G H I L M N O P Q R S T U V W

Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.