META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/james/
org/apache/james/mime4j/
org/apache/james/mime4j/codec/
org/apache/james/mime4j/io/
org/apache/james/mime4j/parser/
org/apache/james/mime4j/stream/
org/apache/james/mime4j/util/
META-INF/DEPENDENCIES
META-INF/LICENSE
META-INF/NOTICE
org/apache/james/mime4j/codec/Base64InputStream.classBase64InputStream.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.Base64InputStream extends java.io.InputStream {
private static final int ENCODED_BUFFER_SIZE
private static final int[] BASE64_DECODE
private static final byte BASE64_PAD
private static final int EOF
private final byte[] singleByte
private final java.io.InputStream in
private final byte[] encoded
private final org.apache.james.mime4j.util.ByteArrayBuffer decodedBuf
private int position
private int size
private boolean closed
private boolean eof
private final org.apache.james.mime4j.codec.DecodeMonitor monitor
static final boolean $assertionsDisabled
public void (java.io.InputStream, org.apache.james.mime4j.codec.DecodeMonitor)
java.io.InputStream in
org.apache.james.mime4j.codec.DecodeMonitor monitor
protected void (int, java.io.InputStream, org.apache.james.mime4j.codec.DecodeMonitor)
int bufsize
java.io.InputStream in
org.apache.james.mime4j.codec.DecodeMonitor monitor
public void (java.io.InputStream)
java.io.InputStream in
public void (java.io.InputStream, boolean)
java.io.InputStream in
boolean strict
public int read () throws java.io.IOException
int bytes
public int read (byte[]) throws java.io.IOException
byte[] buffer
public int read (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
public void close () throws java.io.IOException
private int read0 (byte[], int, int) throws java.io.IOException
int chunk
int n
byte b1
byte b2
byte b3
int value
int decoded
byte[] buffer
int off
int len
int from
int to
int index
int data
int sextets
private int decodePad (int, int, byte[], int, int) throws java.io.IOException
byte b
byte b1
byte b2
int data
int sextets
byte[] buffer
int index
int end
private void handleUnexpectedEof (int) throws java.io.IOException
int sextets
private void handleUnexpecedPad (int) throws java.io.IOException
int sextets
static void ()
int i
int i
}
org/apache/james/mime4j/codec/Base64OutputStream.classBase64OutputStream.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.Base64OutputStream extends java.io.FilterOutputStream {
private static final int DEFAULT_LINE_LENGTH
private static final byte[] CRLF_SEPARATOR
static final byte[] BASE64_TABLE
private static final byte BASE64_PAD
private static final java.util.Set BASE64_CHARS
private static final int MASK_6BITS
private static final int ENCODED_BUFFER_SIZE
private final byte[] singleByte
private final int lineLength
private final byte[] lineSeparator
private boolean closed
private final byte[] encoded
private int position
private int data
private int modulus
private int linePosition
static final boolean $assertionsDisabled
public void (java.io.OutputStream)
java.io.OutputStream out
public void (java.io.OutputStream, int)
java.io.OutputStream out
int lineLength
public void (java.io.OutputStream, int, byte[])
java.io.OutputStream out
int lineLength
byte[] lineSeparator
public final void write (int) throws java.io.IOException
int b
public final void write (byte[]) throws java.io.IOException
byte[] buffer
public final void write (byte[], int, int) throws java.io.IOException
byte[] buffer
int offset
int length
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
private void write0 (byte[], int, int) throws java.io.IOException
byte ls
byte[] arr$
int len$
int i$
int i
byte[] buffer
int from
int to
private void flush0 () throws java.io.IOException
private void close0 () throws java.io.IOException
private void writePad () throws java.io.IOException
private void writeLineSeparator () throws java.io.IOException
byte ls
byte[] arr$
int len$
int i$
private void checkLineSeparator (byte[])
byte b
byte[] arr$
int len$
int i$
byte[] lineSeparator
static void ()
byte b
byte[] arr$
int len$
int i$
}
org/apache/james/mime4j/codec/CodecUtil.classCodecUtil.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.CodecUtil extends java.lang.Object {
static final int DEFAULT_ENCODING_BUFFER_SIZE
public void ()
public static void copy (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
java.io.InputStream in
java.io.OutputStream out
byte[] buffer
int inputLength
public static void encodeQuotedPrintableBinary (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
java.io.InputStream in
java.io.OutputStream out
org.apache.james.mime4j.codec.QuotedPrintableOutputStream qpOut
public static void encodeQuotedPrintable (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
java.io.InputStream in
java.io.OutputStream out
org.apache.james.mime4j.codec.QuotedPrintableOutputStream qpOut
public static void encodeBase64 (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
java.io.InputStream in
java.io.OutputStream out
org.apache.james.mime4j.codec.Base64OutputStream b64Out
public static java.io.OutputStream wrapQuotedPrintable (java.io.OutputStream, boolean) throws java.io.IOException
java.io.OutputStream out
boolean binary
public static java.io.OutputStream wrapBase64 (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
}
org/apache/james/mime4j/codec/DecodeMonitor$1.classDecodeMonitor.java
package org.apache.james.mime4j.codec
final org.apache.james.mime4j.codec.DecodeMonitor$1 extends org.apache.james.mime4j.codec.DecodeMonitor {
void ()
public boolean warn (java.lang.String, java.lang.String)
String error
String dropDesc
public boolean isListening ()
}
org/apache/james/mime4j/codec/DecodeMonitor.classDecodeMonitor.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.DecodeMonitor extends java.lang.Object {
public static final org.apache.james.mime4j.codec.DecodeMonitor STRICT
public static final org.apache.james.mime4j.codec.DecodeMonitor SILENT
public void ()
public boolean warn (java.lang.String, java.lang.String)
String error
String dropDesc
public boolean isListening ()
static void ()
}
org/apache/james/mime4j/codec/DecoderUtil.classDecoderUtil.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.DecoderUtil extends java.lang.Object {
private static final java.util.regex.Pattern PATTERN_ENCODED_WORD
public void ()
private static byte[] decodeQuotedPrintable (java.lang.String, org.apache.james.mime4j.codec.DecodeMonitor)
byte[] bytes
org.apache.james.mime4j.codec.QuotedPrintableInputStream is
int b
java.io.IOException e
String s
org.apache.james.mime4j.codec.DecodeMonitor monitor
java.io.ByteArrayOutputStream baos
private static byte[] decodeBase64 (java.lang.String, org.apache.james.mime4j.codec.DecodeMonitor)
byte[] bytes
org.apache.james.mime4j.codec.Base64InputStream is
int b
java.io.IOException e
String s
org.apache.james.mime4j.codec.DecodeMonitor monitor
java.io.ByteArrayOutputStream baos
static java.lang.String decodeB (java.lang.String, java.lang.String, org.apache.james.mime4j.codec.DecodeMonitor) throws java.io.UnsupportedEncodingException
String encodedText
String charset
org.apache.james.mime4j.codec.DecodeMonitor monitor
byte[] decodedBytes
static java.lang.String decodeQ (java.lang.String, java.lang.String, org.apache.james.mime4j.codec.DecodeMonitor) throws java.io.UnsupportedEncodingException
String encodedText
String charset
org.apache.james.mime4j.codec.DecodeMonitor monitor
byte[] decodedBytes
static java.lang.String decodeEncodedWords (java.lang.String)
String body
public static java.lang.String decodeEncodedWords (java.lang.String, org.apache.james.mime4j.codec.DecodeMonitor) throws java.lang.IllegalArgumentException
String separator
String mimeCharset
String encoding
String encodedText
String decoded
java.util.regex.Matcher matcher
String body
org.apache.james.mime4j.codec.DecodeMonitor monitor
int tailIndex
boolean lastMatchValid
StringBuilder sb
private static java.lang.String tryDecodeEncodedWord (java.lang.String, java.lang.String, java.lang.String, org.apache.james.mime4j.codec.DecodeMonitor)
java.io.UnsupportedEncodingException e
RuntimeException e
String mimeCharset
String encoding
String encodedText
org.apache.james.mime4j.codec.DecodeMonitor monitor
java.nio.charset.Charset charset
private static transient void monitor (org.apache.james.mime4j.codec.DecodeMonitor, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[]) throws java.lang.IllegalArgumentException
String str
String[] arr$
int len$
int i$
String encodedWord
StringBuilder text
String exceptionDesc
org.apache.james.mime4j.codec.DecodeMonitor monitor
String mimeCharset
String encoding
String encodedText
String dropDesc
String[] strings
private static java.lang.String recombine (java.lang.String, java.lang.String, java.lang.String)
String mimeCharset
String encoding
String encodedText
private static java.lang.String replaceUnderscores (java.lang.String)
char c
int i
String str
StringBuilder sb
static void ()
}
org/apache/james/mime4j/codec/EncoderUtil$Encoding.classEncoderUtil.java
package org.apache.james.mime4j.codec
public final org.apache.james.mime4j.codec.EncoderUtil$Encoding extends java.lang.Enum {
public static final org.apache.james.mime4j.codec.EncoderUtil$Encoding B
public static final org.apache.james.mime4j.codec.EncoderUtil$Encoding Q
private static final org.apache.james.mime4j.codec.EncoderUtil$Encoding[] $VALUES
public static org.apache.james.mime4j.codec.EncoderUtil$Encoding[] values ()
public static org.apache.james.mime4j.codec.EncoderUtil$Encoding valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/apache/james/mime4j/codec/EncoderUtil$Usage.classEncoderUtil.java
package org.apache.james.mime4j.codec
public final org.apache.james.mime4j.codec.EncoderUtil$Usage extends java.lang.Enum {
public static final org.apache.james.mime4j.codec.EncoderUtil$Usage TEXT_TOKEN
public static final org.apache.james.mime4j.codec.EncoderUtil$Usage WORD_ENTITY
private static final org.apache.james.mime4j.codec.EncoderUtil$Usage[] $VALUES
public static org.apache.james.mime4j.codec.EncoderUtil$Usage[] values ()
public static org.apache.james.mime4j.codec.EncoderUtil$Usage valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/apache/james/mime4j/codec/EncoderUtil.classEncoderUtil.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.EncoderUtil extends java.lang.Object {
private static final byte[] BASE64_TABLE
private static final char BASE64_PAD
private static final java.util.BitSet Q_REGULAR_CHARS
private static final java.util.BitSet Q_RESTRICTED_CHARS
private static final int MAX_USED_CHARACTERS
private static final String ENC_WORD_PREFIX
private static final String ENC_WORD_SUFFIX
private static final int ENCODED_WORD_MAX_LENGTH
private static final java.util.BitSet TOKEN_CHARS
private static final java.util.BitSet ATEXT_CHARS
private static java.util.BitSet initChars (java.lang.String)
char ch
String specials
java.util.BitSet bs
private void ()
public static java.lang.String encodeAddressDisplayName (java.lang.String)
String displayName
public static java.lang.String encodeAddressLocalPart (java.lang.String)
String localPart
public static java.lang.String encodeHeaderParameter (java.lang.String, java.lang.String)
String name
String value
public static java.lang.String encodeIfNecessary (java.lang.String, org.apache.james.mime4j.codec.EncoderUtil$Usage, int)
String text
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
int usedCharacters
public static boolean hasToBeEncoded (java.lang.String, int)
char ch
int idx
String text
int usedCharacters
int nonWhiteSpaceCount
public static java.lang.String encodeEncodedWord (java.lang.String, org.apache.james.mime4j.codec.EncoderUtil$Usage)
String text
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
public static java.lang.String encodeEncodedWord (java.lang.String, org.apache.james.mime4j.codec.EncoderUtil$Usage, int)
String text
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
int usedCharacters
public static java.lang.String encodeEncodedWord (java.lang.String, org.apache.james.mime4j.codec.EncoderUtil$Usage, int, java.nio.charset.Charset, org.apache.james.mime4j.codec.EncoderUtil$Encoding)
String prefix
String prefix
String text
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
int usedCharacters
java.nio.charset.Charset charset
org.apache.james.mime4j.codec.EncoderUtil$Encoding encoding
byte[] bytes
public static java.lang.String encodeB (byte[])
int data
int data
int data
byte[] bytes
StringBuilder sb
int idx
int end
public static java.lang.String encodeQ (byte[], org.apache.james.mime4j.codec.EncoderUtil$Usage)
int v
int idx
byte[] bytes
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
java.util.BitSet qChars
StringBuilder sb
int end
public static boolean isToken (java.lang.String)
char ch
int idx
String str
int length
private static boolean isAtomPhrase (java.lang.String)
char ch
int idx
String str
boolean containsAText
int length
private static boolean isDotAtomText (java.lang.String)
char ch
int idx
String str
char prev
int length
private static java.lang.String quote (java.lang.String)
String str
String escaped
private static java.lang.String encodeB (java.lang.String, java.lang.String, int, java.nio.charset.Charset, byte[])
String part1
byte[] bytes1
String word1
String part2
byte[] bytes2
String word2
String prefix
String text
int usedCharacters
java.nio.charset.Charset charset
byte[] bytes
int encodedLength
int totalLength
private static int bEncodedLength (byte[])
byte[] bytes
private static java.lang.String encodeQ (java.lang.String, java.lang.String, org.apache.james.mime4j.codec.EncoderUtil$Usage, int, java.nio.charset.Charset, byte[])
String part1
byte[] bytes1
String word1
String part2
byte[] bytes2
String word2
String prefix
String text
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
int usedCharacters
java.nio.charset.Charset charset
byte[] bytes
int encodedLength
int totalLength
private static int qEncodedLength (byte[], org.apache.james.mime4j.codec.EncoderUtil$Usage)
int v
int idx
byte[] bytes
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
java.util.BitSet qChars
int count
private static byte[] encode (java.lang.String, java.nio.charset.Charset)
String text
java.nio.charset.Charset charset
java.nio.ByteBuffer buffer
byte[] bytes
private static java.nio.charset.Charset determineCharset (java.lang.String)
char ch
int index
String text
boolean ascii
int len
private static org.apache.james.mime4j.codec.EncoderUtil$Encoding determineEncoding (byte[], org.apache.james.mime4j.codec.EncoderUtil$Usage)
int v
int i
byte[] bytes
org.apache.james.mime4j.codec.EncoderUtil$Usage usage
java.util.BitSet qChars
int qEncoded
int percentage
private static char hexDigit (int)
int i
static void ()
}
org/apache/james/mime4j/codec/QuotedPrintableInputStream.classQuotedPrintableInputStream.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.QuotedPrintableInputStream extends java.io.InputStream {
private static final int DEFAULT_BUFFER_SIZE
private static final byte EQ
private static final byte CR
private static final byte LF
private final byte[] singleByte
private final java.io.InputStream in
private final org.apache.james.mime4j.util.ByteArrayBuffer decodedBuf
private final org.apache.james.mime4j.util.ByteArrayBuffer blanks
private final byte[] encoded
private int pos
private int limit
private boolean closed
private final org.apache.james.mime4j.codec.DecodeMonitor monitor
public void (java.io.InputStream, org.apache.james.mime4j.codec.DecodeMonitor)
java.io.InputStream in
org.apache.james.mime4j.codec.DecodeMonitor monitor
protected void (int, java.io.InputStream, org.apache.james.mime4j.codec.DecodeMonitor)
int bufsize
java.io.InputStream in
org.apache.james.mime4j.codec.DecodeMonitor monitor
protected void (int, java.io.InputStream, boolean)
int bufsize
java.io.InputStream in
boolean strict
public void (java.io.InputStream, boolean)
java.io.InputStream in
boolean strict
public void (java.io.InputStream)
java.io.InputStream in
public void close () throws java.io.IOException
private int fillBuffer () throws java.io.IOException
int bytesRead
int capacity
private int getnext ()
byte b
private int peek (int)
int i
private int transfer (int, byte[], int, int, boolean) throws java.io.IOException
int chunk
int remaining
int i
StringBuilder sb
int b
byte[] buffer
int from
int to
boolean keepblanks
int index
private int read0 (byte[], int, int) throws java.io.IOException
int chunk
int bytesRead
int bb1
int bb2
int b3
int upper
int lower
int b2
int b
boolean lastWasCR
byte[] buffer
int off
int len
boolean eof
int from
int to
int index
private int convert (int)
int c
public int read () throws java.io.IOException
int bytes
public int read (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
}
org/apache/james/mime4j/codec/QuotedPrintableOutputStream.classQuotedPrintableOutputStream.java
package org.apache.james.mime4j.codec
public org.apache.james.mime4j.codec.QuotedPrintableOutputStream extends java.io.FilterOutputStream {
private static final int DEFAULT_BUFFER_SIZE
private static final byte TB
private static final byte SP
private static final byte EQ
private static final byte DOT
private static final byte CR
private static final byte LF
private static final byte QUOTED_PRINTABLE_LAST_PLAIN
private static final int QUOTED_PRINTABLE_MAX_LINE_LENGTH
private static final int QUOTED_PRINTABLE_OCTETS_PER_ESCAPE
private static final byte[] HEX_DIGITS
private final byte[] outBuffer
private final boolean binary
private boolean pendingSpace
private boolean pendingTab
private boolean pendingCR
private int nextSoftBreak
private int outputIndex
private boolean closed
private byte[] singleByte
public void (int, java.io.OutputStream, boolean)
int bufsize
java.io.OutputStream out
boolean binary
public void (java.io.OutputStream, boolean)
java.io.OutputStream out
boolean binary
private void encodeChunk (byte[], int, int) throws java.io.IOException
int inputIndex
byte[] buffer
int off
int len
private void completeEncoding () throws java.io.IOException
private void writePending () throws java.io.IOException
private void clearPending () throws java.io.IOException
private void encode (byte) throws java.io.IOException
byte next
private void plain (byte) throws java.io.IOException
byte next
private void escape (byte) throws java.io.IOException
byte next
int nextUnsigned
private void write (byte) throws java.io.IOException
byte next
private void softBreak () throws java.io.IOException
private void lineBreak () throws java.io.IOException
void flushOutput () throws java.io.IOException
public void close () throws java.io.IOException
public void flush () throws java.io.IOException
public void write (int) throws java.io.IOException
int b
public void write (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
static void ()
}
org/apache/james/mime4j/io/BufferedLineReaderInputStream.classBufferedLineReaderInputStream.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.BufferedLineReaderInputStream extends org.apache.james.mime4j.io.LineReaderInputStream {
private boolean truncated
boolean tempBuffer
private byte[] origBuffer
private int origBufpos
private int origBuflen
private byte[] buffer
private int bufpos
private int buflen
private final int maxLineLen
public void (java.io.InputStream, int, int)
java.io.InputStream instream
int buffersize
int maxLineLen
public void (java.io.InputStream, int)
java.io.InputStream instream
int buffersize
private void expand (int)
int newlen
byte[] newbuffer
int len
public void ensureCapacity (int)
int len
public int fillBuffer () throws java.io.IOException
int len
int l
int off
int len
private int bufferLen ()
public boolean hasBufferedData ()
public void truncate ()
protected boolean readAllowed ()
public int read () throws java.io.IOException
int noRead
public int read (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
int noRead
int chunk
public int read (byte[]) throws java.io.IOException
byte[] b
public boolean markSupported ()
public int readLine (org.apache.james.mime4j.util.ByteArrayBuffer) throws org.apache.james.mime4j.io.MaxLineLimitException java.io.IOException
int chunk
int i
int chunk
org.apache.james.mime4j.util.ByteArrayBuffer dst
int total
boolean found
int bytesRead
public int indexOf (byte[], int, int)
int i
int x
int i
int i
int cur
boolean match
int pos
int x
byte[] pattern
int off
int len
int[] shiftTable
int j
public int indexOf (byte[])
byte[] pattern
public int indexOf (byte, int, int)
int i
byte b
int off
int len
public int indexOf (byte)
byte b
public int byteAt (int)
int pos
protected byte[] buf ()
protected int pos ()
protected int limit ()
protected int length ()
public int capacity ()
protected int skip (int)
int n
int chunk
private void clear ()
public java.lang.String toString ()
int i
int i
StringBuilder buffer
public boolean unread (org.apache.james.mime4j.util.ByteArrayBuffer)
org.apache.james.mime4j.util.ByteArrayBuffer buf
}
org/apache/james/mime4j/io/EOLConvertingInputStream.classEOLConvertingInputStream.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.EOLConvertingInputStream extends java.io.InputStream {
public static final int CONVERT_CR
public static final int CONVERT_LF
public static final int CONVERT_BOTH
private java.io.PushbackInputStream in
private int previous
private int flags
public void (java.io.InputStream)
java.io.InputStream in
public void (java.io.InputStream, int)
java.io.InputStream in
int flags
public void close () throws java.io.IOException
public int read () throws java.io.IOException
int c
int b
}
org/apache/james/mime4j/io/LimitedInputStream.classLimitedInputStream.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.LimitedInputStream extends org.apache.james.mime4j.io.PositionInputStream {
private final long limit
public void (java.io.InputStream, long)
java.io.InputStream instream
long limit
private void enforceLimit () throws java.io.IOException
public int read () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
public long skip (long) throws java.io.IOException
long n
private int getBytesLeft ()
}
org/apache/james/mime4j/io/LineNumberInputStream.classLineNumberInputStream.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.LineNumberInputStream extends java.io.FilterInputStream implements org.apache.james.mime4j.io.LineNumberSource {
private int lineNumber
public void (java.io.InputStream)
java.io.InputStream is
public int getLineNumber ()
public int read () throws java.io.IOException
int b
public int read (byte[], int, int) throws java.io.IOException
int i
byte[] b
int off
int len
int n
}
org/apache/james/mime4j/io/LineNumberSource.classLineNumberSource.java
package org.apache.james.mime4j.io
public abstract org.apache.james.mime4j.io.LineNumberSource extends java.lang.Object {
public abstract int getLineNumber ()
}
org/apache/james/mime4j/io/LineReaderInputStream.classLineReaderInputStream.java
package org.apache.james.mime4j.io
public abstract org.apache.james.mime4j.io.LineReaderInputStream extends java.io.FilterInputStream {
protected void (java.io.InputStream)
java.io.InputStream in
public abstract int readLine (org.apache.james.mime4j.util.ByteArrayBuffer) throws org.apache.james.mime4j.io.MaxLineLimitException java.io.IOException
public abstract boolean unread (org.apache.james.mime4j.util.ByteArrayBuffer)
}
org/apache/james/mime4j/io/LineReaderInputStreamAdaptor.classLineReaderInputStreamAdaptor.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.LineReaderInputStreamAdaptor extends org.apache.james.mime4j.io.LineReaderInputStream {
private final org.apache.james.mime4j.io.LineReaderInputStream bis
private final int maxLineLen
private boolean used
private boolean eof
public void (java.io.InputStream, int)
java.io.InputStream is
int maxLineLen
public void (java.io.InputStream)
java.io.InputStream is
public int read () throws java.io.IOException
int i
public int read (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
int i
public int readLine (org.apache.james.mime4j.util.ByteArrayBuffer) throws org.apache.james.mime4j.io.MaxLineLimitException java.io.IOException
int i
org.apache.james.mime4j.util.ByteArrayBuffer dst
int i
private int doReadLine (org.apache.james.mime4j.util.ByteArrayBuffer) throws org.apache.james.mime4j.io.MaxLineLimitException java.io.IOException
org.apache.james.mime4j.util.ByteArrayBuffer dst
int total
int ch
public boolean eof ()
public boolean isUsed ()
public java.lang.String toString ()
public boolean unread (org.apache.james.mime4j.util.ByteArrayBuffer)
org.apache.james.mime4j.util.ByteArrayBuffer buf
public long skip (long) throws java.io.IOException
int res
long count
int bufferSize
byte[] buffer
long result
}
org/apache/james/mime4j/io/MaxHeaderLengthLimitException.classMaxHeaderLengthLimitException.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.MaxHeaderLengthLimitException extends org.apache.james.mime4j.MimeException {
private static final long serialVersionUID
public void (java.lang.String)
String message
}
org/apache/james/mime4j/io/MaxHeaderLimitException.classMaxHeaderLimitException.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.MaxHeaderLimitException extends org.apache.james.mime4j.MimeException {
private static final long serialVersionUID
public void (java.lang.String)
String message
}
org/apache/james/mime4j/io/MaxLineLimitException.classMaxLineLimitException.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.MaxLineLimitException extends java.io.IOException {
private static final long serialVersionUID
public void (java.lang.String)
String message
}
org/apache/james/mime4j/io/MimeBoundaryInputStream.classMimeBoundaryInputStream.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.MimeBoundaryInputStream extends org.apache.james.mime4j.io.LineReaderInputStream {
private final byte[] boundary
private final boolean strict
private boolean eof
private int limit
private boolean atBoundary
private int boundaryLen
private boolean lastPart
private boolean completed
private org.apache.james.mime4j.io.BufferedLineReaderInputStream buffer
private int initialLength
public void (org.apache.james.mime4j.io.BufferedLineReaderInputStream, java.lang.String, boolean) throws java.io.IOException
byte ch
int i
org.apache.james.mime4j.io.BufferedLineReaderInputStream inbuffer
String boundary
boolean strict
int bufferSize
public void (org.apache.james.mime4j.io.BufferedLineReaderInputStream, java.lang.String) throws java.io.IOException
org.apache.james.mime4j.io.BufferedLineReaderInputStream inbuffer
String boundary
public void close () throws java.io.IOException
public boolean markSupported ()
public boolean readAllowed () throws java.io.IOException
public int read () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
int chunk
byte[] b
int off
int len
public int readLine (org.apache.james.mime4j.util.ByteArrayBuffer) throws java.io.IOException
int chunk
int len
int i
int chunk
org.apache.james.mime4j.util.ByteArrayBuffer dst
int total
boolean found
int bytesRead
private void verifyEndOfStream () throws java.io.IOException
private boolean endOfStream ()
private boolean hasData ()
private int fillBuffer () throws java.io.IOException
int bytesRead
char ch
int pos
int remaining
int bytesRead
int i
int off
public boolean isEmptyStream ()
public boolean isFullyConsumed ()
private void calculateBoundaryLen () throws java.io.IOException
int len
private void skipBoundary () throws java.io.IOException
int ch1
int ch2
boolean checkForLastPart
public boolean isLastPart ()
public boolean eof ()
public java.lang.String toString ()
byte b
byte[] arr$
int len$
int i$
StringBuilder buffer
public boolean unread (org.apache.james.mime4j.util.ByteArrayBuffer)
org.apache.james.mime4j.util.ByteArrayBuffer buf
}
org/apache/james/mime4j/io/PositionInputStream.classPositionInputStream.java
package org.apache.james.mime4j.io
public org.apache.james.mime4j.io.PositionInputStream extends java.io.FilterInputStream {
protected long position
private long markedPosition
public void (java.io.InputStream)
java.io.InputStream inputStream
public long getPosition ()
public int available () throws java.io.IOException
public int read () throws java.io.IOException
int b
public void close () throws java.io.IOException
public void reset () throws java.io.IOException
public boolean markSupported ()
public void mark (int)
int readlimit
public long skip (long) throws java.io.IOException
long n
long c
public int read (byte[], int, int) throws java.io.IOException
byte[] b
int off
int len
int c
}
org/apache/james/mime4j/MimeException.classMimeException.java
package org.apache.james.mime4j
public org.apache.james.mime4j.MimeException extends java.lang.Exception {
private static final long serialVersionUID
public void (java.lang.String)
String message
public void (java.lang.Throwable)
Throwable cause
public void (java.lang.String, java.lang.Throwable)
String message
Throwable cause
}
org/apache/james/mime4j/MimeIOException.classMimeIOException.java
package org.apache.james.mime4j
public org.apache.james.mime4j.MimeIOException extends java.io.IOException {
private static final long serialVersionUID
public void (org.apache.james.mime4j.MimeException)
org.apache.james.mime4j.MimeException cause
public org.apache.james.mime4j.MimeException getCause ()
public volatile java.lang.Throwable getCause ()
}
org/apache/james/mime4j/parser/AbstractContentHandler.classAbstractContentHandler.java
package org.apache.james.mime4j.parser
public abstract org.apache.james.mime4j.parser.AbstractContentHandler extends java.lang.Object implements org.apache.james.mime4j.parser.ContentHandler {
public void ()
public void endMultipart () throws org.apache.james.mime4j.MimeException
public void startMultipart (org.apache.james.mime4j.stream.BodyDescriptor) throws org.apache.james.mime4j.MimeException
org.apache.james.mime4j.stream.BodyDescriptor bd
public void body (org.apache.james.mime4j.stream.BodyDescriptor, java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
org.apache.james.mime4j.stream.BodyDescriptor bd
java.io.InputStream is
public void endBodyPart () throws org.apache.james.mime4j.MimeException
public void endHeader () throws org.apache.james.mime4j.MimeException
public void endMessage () throws org.apache.james.mime4j.MimeException
public void epilogue (java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
java.io.InputStream is
public void field (org.apache.james.mime4j.stream.Field) throws org.apache.james.mime4j.MimeException
org.apache.james.mime4j.stream.Field field
public void preamble (java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
java.io.InputStream is
public void startBodyPart () throws org.apache.james.mime4j.MimeException
public void startHeader () throws org.apache.james.mime4j.MimeException
public void startMessage () throws org.apache.james.mime4j.MimeException
public void raw (java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
java.io.InputStream is
}
org/apache/james/mime4j/parser/ContentHandler.classContentHandler.java
package org.apache.james.mime4j.parser
public abstract org.apache.james.mime4j.parser.ContentHandler extends java.lang.Object {
public abstract void startMessage () throws org.apache.james.mime4j.MimeException
public abstract void endMessage () throws org.apache.james.mime4j.MimeException
public abstract void startBodyPart () throws org.apache.james.mime4j.MimeException
public abstract void endBodyPart () throws org.apache.james.mime4j.MimeException
public abstract void startHeader () throws org.apache.james.mime4j.MimeException
public abstract void field (org.apache.james.mime4j.stream.Field) throws org.apache.james.mime4j.MimeException
public abstract void endHeader () throws org.apache.james.mime4j.MimeException
public abstract void preamble (java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
public abstract void epilogue (java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
public abstract void startMultipart (org.apache.james.mime4j.stream.BodyDescriptor) throws org.apache.james.mime4j.MimeException
public abstract void endMultipart () throws org.apache.james.mime4j.MimeException
public abstract void body (org.apache.james.mime4j.stream.BodyDescriptor, java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
public abstract void raw (java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
}
org/apache/james/mime4j/parser/MimeStreamParser$1.classMimeStreamParser.java
package org.apache.james.mime4j.parser
org.apache.james.mime4j.parser.MimeStreamParser$1 extends java.lang.Object {
static final int[] $SwitchMap$org$apache$james$mime4j$stream$EntityState
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/apache/james/mime4j/parser/MimeStreamParser.classMimeStreamParser.java
package org.apache.james.mime4j.parser
public org.apache.james.mime4j.parser.MimeStreamParser extends java.lang.Object {
private org.apache.james.mime4j.parser.ContentHandler handler
private boolean contentDecoding
private final org.apache.james.mime4j.stream.MimeTokenStream mimeTokenStream
public void (org.apache.james.mime4j.stream.MimeTokenStream)
org.apache.james.mime4j.stream.MimeTokenStream tokenStream
public void (org.apache.james.mime4j.stream.MimeConfig, org.apache.james.mime4j.codec.DecodeMonitor, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.stream.MimeConfig config
org.apache.james.mime4j.codec.DecodeMonitor monitor
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
public void (org.apache.james.mime4j.stream.MimeConfig)
org.apache.james.mime4j.stream.MimeConfig config
public void ()
public boolean isContentDecoding ()
public void setContentDecoding (boolean)
boolean b
public void parse (java.io.InputStream) throws org.apache.james.mime4j.MimeException java.io.IOException
org.apache.james.mime4j.stream.Field contentType
java.io.InputStream bodyContent
org.apache.james.mime4j.stream.BodyDescriptor desc
java.io.InputStream bodyContent
org.apache.james.mime4j.stream.EntityState state
java.io.InputStream instream
org.apache.james.mime4j.stream.MimeConfig config
public boolean isRaw ()
public void setRaw ()
public void setFlat ()
public void setRecurse ()
public void stop ()
public void setContentHandler (org.apache.james.mime4j.parser.ContentHandler)
org.apache.james.mime4j.parser.ContentHandler h
}
org/apache/james/mime4j/stream/BasicBodyDescriptor.classBasicBodyDescriptor.java
package org.apache.james.mime4j.stream
org.apache.james.mime4j.stream.BasicBodyDescriptor extends java.lang.Object implements org.apache.james.mime4j.stream.BodyDescriptor {
private final String mimeType
private final String mediaType
private final String subType
private final String boundary
private final String charset
private final String transferEncoding
private final long contentLength
void (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)
String mimeType
String mediaType
String subType
String boundary
String charset
String transferEncoding
long contentLength
public java.lang.String getMimeType ()
public java.lang.String getMediaType ()
public java.lang.String getSubType ()
public java.lang.String getBoundary ()
public java.lang.String getCharset ()
public java.lang.String getTransferEncoding ()
public long getContentLength ()
public java.lang.String toString ()
StringBuilder sb
}
org/apache/james/mime4j/stream/BodyDescriptor.classBodyDescriptor.java
package org.apache.james.mime4j.stream
public abstract org.apache.james.mime4j.stream.BodyDescriptor extends java.lang.Object implements org.apache.james.mime4j.stream.ContentDescriptor {
public abstract java.lang.String getBoundary ()
}
org/apache/james/mime4j/stream/BodyDescriptorBuilder.classBodyDescriptorBuilder.java
package org.apache.james.mime4j.stream
public abstract org.apache.james.mime4j.stream.BodyDescriptorBuilder extends java.lang.Object {
public abstract void reset ()
public abstract org.apache.james.mime4j.stream.Field addField (org.apache.james.mime4j.stream.RawField) throws org.apache.james.mime4j.MimeException
public abstract org.apache.james.mime4j.stream.BodyDescriptor build ()
public abstract org.apache.james.mime4j.stream.BodyDescriptorBuilder newChild ()
}
org/apache/james/mime4j/stream/ContentDescriptor.classContentDescriptor.java
package org.apache.james.mime4j.stream
public abstract org.apache.james.mime4j.stream.ContentDescriptor extends java.lang.Object {
public abstract java.lang.String getMimeType ()
public abstract java.lang.String getMediaType ()
public abstract java.lang.String getSubType ()
public abstract java.lang.String getCharset ()
public abstract java.lang.String getTransferEncoding ()
public abstract long getContentLength ()
}
org/apache/james/mime4j/stream/DefaultFieldBuilder.classDefaultFieldBuilder.java
package org.apache.james.mime4j.stream
public org.apache.james.mime4j.stream.DefaultFieldBuilder extends java.lang.Object implements org.apache.james.mime4j.stream.FieldBuilder {
private static final java.util.BitSet FIELD_CHARS
private final org.apache.james.mime4j.util.ByteArrayBuffer buf
private final int maxlen
public void (int)
int maxlen
public void reset ()
public void append (org.apache.james.mime4j.util.ByteArrayBuffer) throws org.apache.james.mime4j.io.MaxHeaderLengthLimitException
org.apache.james.mime4j.util.ByteArrayBuffer line
int len
public org.apache.james.mime4j.stream.RawField build () throws org.apache.james.mime4j.MimeException
char ch
int i
int len
org.apache.james.mime4j.util.ByteArrayBuffer copy
org.apache.james.mime4j.stream.RawField field
String name
public org.apache.james.mime4j.util.ByteArrayBuffer getRaw ()
static void ()
int i
int i
}
org/apache/james/mime4j/stream/EntityState.classEntityState.java
package org.apache.james.mime4j.stream
public final org.apache.james.mime4j.stream.EntityState extends java.lang.Enum {
public static final org.apache.james.mime4j.stream.EntityState T_START_MESSAGE
public static final org.apache.james.mime4j.stream.EntityState T_END_MESSAGE
public static final org.apache.james.mime4j.stream.EntityState T_RAW_ENTITY
public static final org.apache.james.mime4j.stream.EntityState T_START_HEADER
public static final org.apache.james.mime4j.stream.EntityState T_FIELD
public static final org.apache.james.mime4j.stream.EntityState T_END_HEADER
public static final org.apache.james.mime4j.stream.EntityState T_START_MULTIPART
public static final org.apache.james.mime4j.stream.EntityState T_END_MULTIPART
public static final org.apache.james.mime4j.stream.EntityState T_PREAMBLE
public static final org.apache.james.mime4j.stream.EntityState T_EPILOGUE
public static final org.apache.james.mime4j.stream.EntityState T_START_BODYPART
public static final org.apache.james.mime4j.stream.EntityState T_END_BODYPART
public static final org.apache.james.mime4j.stream.EntityState T_BODY
public static final org.apache.james.mime4j.stream.EntityState T_END_OF_STREAM
private static final org.apache.james.mime4j.stream.EntityState[] $VALUES
public static org.apache.james.mime4j.stream.EntityState[] values ()
public static org.apache.james.mime4j.stream.EntityState valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/apache/james/mime4j/stream/EntityStateMachine.classEntityStateMachine.java
package org.apache.james.mime4j.stream
public abstract org.apache.james.mime4j.stream.EntityStateMachine extends java.lang.Object {
public abstract org.apache.james.mime4j.stream.EntityState getState ()
public abstract void setRecursionMode (org.apache.james.mime4j.stream.RecursionMode)
public abstract org.apache.james.mime4j.stream.EntityStateMachine advance () throws java.io.IOException org.apache.james.mime4j.MimeException
public abstract org.apache.james.mime4j.stream.BodyDescriptor getBodyDescriptor () throws java.lang.IllegalStateException
public abstract java.io.InputStream getContentStream () throws java.lang.IllegalStateException
public abstract java.io.InputStream getDecodedContentStream () throws java.lang.IllegalStateException
public abstract org.apache.james.mime4j.stream.Field getField () throws java.lang.IllegalStateException
}
org/apache/james/mime4j/stream/Event.classEvent.java
package org.apache.james.mime4j.stream
public final org.apache.james.mime4j.stream.Event extends java.lang.Object {
public static final org.apache.james.mime4j.stream.Event MIME_BODY_PREMATURE_END
public static final org.apache.james.mime4j.stream.Event HEADERS_PREMATURE_END
public static final org.apache.james.mime4j.stream.Event INVALID_HEADER
public static final org.apache.james.mime4j.stream.Event OBSOLETE_HEADER
private final String code
public void (java.lang.String)
String code
public int hashCode ()
public boolean equals (java.lang.Object)
org.apache.james.mime4j.stream.Event that
Object obj
public java.lang.String toString ()
static void ()
}
org/apache/james/mime4j/stream/FallbackBodyDescriptorBuilder.classFallbackBodyDescriptorBuilder.java
package org.apache.james.mime4j.stream
org.apache.james.mime4j.stream.FallbackBodyDescriptorBuilder extends java.lang.Object implements org.apache.james.mime4j.stream.BodyDescriptorBuilder {
private static final String US_ASCII
private static final String SUB_TYPE_EMAIL
private static final String MEDIA_TYPE_TEXT
private static final String MEDIA_TYPE_MESSAGE
private static final String EMAIL_MESSAGE_MIME_TYPE
private static final String DEFAULT_SUB_TYPE
private static final String DEFAULT_MEDIA_TYPE
private static final String DEFAULT_MIME_TYPE
private final String parentMimeType
private final org.apache.james.mime4j.codec.DecodeMonitor monitor
private String mediaType
private String subType
private String mimeType
private String boundary
private String charset
private String transferEncoding
private long contentLength
public void ()
public void (java.lang.String, org.apache.james.mime4j.codec.DecodeMonitor)
String parentMimeType
org.apache.james.mime4j.codec.DecodeMonitor monitor
public void reset ()
public org.apache.james.mime4j.stream.BodyDescriptorBuilder newChild ()
public org.apache.james.mime4j.stream.BodyDescriptor build ()
String actualMimeType
String actualMediaType
String actualSubType
String actualCharset
public org.apache.james.mime4j.stream.Field addField (org.apache.james.mime4j.stream.RawField) throws org.apache.james.mime4j.MimeException
String value
NumberFormatException e
String value
org.apache.james.mime4j.stream.RawField field
String name
private void parseContentType (org.apache.james.mime4j.stream.Field) throws org.apache.james.mime4j.MimeException
org.apache.james.mime4j.stream.RawField rawfield
String name
org.apache.james.mime4j.stream.NameValuePair nmp
java.util.Iterator i$
int index
boolean valid
org.apache.james.mime4j.stream.Field field
org.apache.james.mime4j.stream.RawField rawfield
org.apache.james.mime4j.stream.RawBody body
String main
java.util.Map params
String type
String subtype
String b
String c
}
org/apache/james/mime4j/stream/Field.classField.java
package org.apache.james.mime4j.stream
public abstract org.apache.james.mime4j.stream.Field extends java.lang.Object {
public abstract java.lang.String getName ()
public abstract java.lang.String getBody ()
public abstract org.apache.james.mime4j.util.ByteSequence getRaw ()
}
org/apache/james/mime4j/stream/FieldBuilder.classFieldBuilder.java
package org.apache.james.mime4j.stream
public abstract org.apache.james.mime4j.stream.FieldBuilder extends java.lang.Object {
public abstract void reset ()
public abstract void append (org.apache.james.mime4j.util.ByteArrayBuffer) throws org.apache.james.mime4j.MimeException
public abstract org.apache.james.mime4j.stream.RawField build () throws org.apache.james.mime4j.MimeException
public abstract org.apache.james.mime4j.util.ByteArrayBuffer getRaw ()
}
org/apache/james/mime4j/stream/MimeConfig.classMimeConfig.java
package org.apache.james.mime4j.stream
public final org.apache.james.mime4j.stream.MimeConfig extends java.lang.Object implements java.lang.Cloneable {
private boolean strictParsing
private int maxLineLen
private int maxHeaderCount
private int maxHeaderLen
private long maxContentLen
private boolean countLineNumbers
private String headlessParsing
private boolean malformedHeaderStartsBody
public void ()
public boolean isMalformedHeaderStartsBody ()
public void setMalformedHeaderStartsBody (boolean)
boolean malformedHeaderStartsBody
public boolean isStrictParsing ()
public void setStrictParsing (boolean)
boolean strictParsing
public int getMaxLineLen ()
public void setMaxLineLen (int)
int maxLineLen
public int getMaxHeaderCount ()
public void setMaxHeaderCount (int)
int maxHeaderCount
public int getMaxHeaderLen ()
public void setMaxHeaderLen (int)
int maxHeaderLen
public long getMaxContentLen ()
public void setMaxContentLen (long)
long maxContentLen
public boolean isCountLineNumbers ()
public void setCountLineNumbers (boolean)
boolean countLineNumbers
public java.lang.String getHeadlessParsing ()
public void setHeadlessParsing (java.lang.String)
String contentType
public org.apache.james.mime4j.stream.MimeConfig clone ()
CloneNotSupportedException e
public java.lang.String toString ()
public volatile java.lang.Object clone () throws java.lang.CloneNotSupportedException
}
org/apache/james/mime4j/stream/MimeEntity$1.classMimeEntity.java
package org.apache.james.mime4j.stream
org.apache.james.mime4j.stream.MimeEntity$1 extends java.lang.Object {
static final int[] $SwitchMap$org$apache$james$mime4j$stream$EntityState
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
org/apache/james/mime4j/stream/MimeEntity.classMimeEntity.java
package org.apache.james.mime4j.stream
org.apache.james.mime4j.stream.MimeEntity extends java.lang.Object implements org.apache.james.mime4j.stream.EntityStateMachine {
private final org.apache.james.mime4j.stream.EntityState endState
private final org.apache.james.mime4j.stream.MimeConfig config
private final org.apache.james.mime4j.codec.DecodeMonitor monitor
private final org.apache.james.mime4j.stream.FieldBuilder fieldBuilder
private final org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
private final org.apache.james.mime4j.util.ByteArrayBuffer linebuf
private final org.apache.james.mime4j.io.LineNumberSource lineSource
private final org.apache.james.mime4j.io.BufferedLineReaderInputStream inbuffer
private org.apache.james.mime4j.stream.EntityState state
private int lineCount
private boolean endOfHeader
private int headerCount
private org.apache.james.mime4j.stream.Field field
private org.apache.james.mime4j.stream.BodyDescriptor body
private org.apache.james.mime4j.stream.RecursionMode recursionMode
private org.apache.james.mime4j.io.MimeBoundaryInputStream currentMimePartStream
private org.apache.james.mime4j.io.LineReaderInputStreamAdaptor dataStream
private byte[] tmpbuf
void (org.apache.james.mime4j.io.LineNumberSource, java.io.InputStream, org.apache.james.mime4j.stream.MimeConfig, org.apache.james.mime4j.stream.EntityState, org.apache.james.mime4j.stream.EntityState, org.apache.james.mime4j.codec.DecodeMonitor, org.apache.james.mime4j.stream.FieldBuilder, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.io.LineNumberSource lineSource
java.io.InputStream instream
org.apache.james.mime4j.stream.MimeConfig config
org.apache.james.mime4j.stream.EntityState startState
org.apache.james.mime4j.stream.EntityState endState
org.apache.james.mime4j.codec.DecodeMonitor monitor
org.apache.james.mime4j.stream.FieldBuilder fieldBuilder
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
void (org.apache.james.mime4j.io.LineNumberSource, java.io.InputStream, org.apache.james.mime4j.stream.MimeConfig, org.apache.james.mime4j.stream.EntityState, org.apache.james.mime4j.stream.EntityState, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.io.LineNumberSource lineSource
java.io.InputStream instream
org.apache.james.mime4j.stream.MimeConfig config
org.apache.james.mime4j.stream.EntityState startState
org.apache.james.mime4j.stream.EntityState endState
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
void (org.apache.james.mime4j.io.LineNumberSource, java.io.InputStream, org.apache.james.mime4j.stream.MimeConfig, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.io.LineNumberSource lineSource
java.io.InputStream instream
org.apache.james.mime4j.stream.MimeConfig config
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
void (org.apache.james.mime4j.io.LineNumberSource, java.io.InputStream, org.apache.james.mime4j.stream.FieldBuilder, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.io.LineNumberSource lineSource
java.io.InputStream instream
org.apache.james.mime4j.stream.FieldBuilder fieldBuilder
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
void (org.apache.james.mime4j.io.LineNumberSource, java.io.InputStream, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.io.LineNumberSource lineSource
java.io.InputStream instream
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
public org.apache.james.mime4j.stream.EntityState getState ()
public org.apache.james.mime4j.stream.RecursionMode getRecursionMode ()
public void setRecursionMode (org.apache.james.mime4j.stream.RecursionMode)
org.apache.james.mime4j.stream.RecursionMode recursionMode
public void stop ()
private int getLineNumber ()
private org.apache.james.mime4j.io.LineReaderInputStream getDataStream ()
protected java.lang.String message (org.apache.james.mime4j.stream.Event)
String message
org.apache.james.mime4j.stream.Event event
String message
int lineNumber
protected void monitor (org.apache.james.mime4j.stream.Event) throws org.apache.james.mime4j.MimeException java.io.IOException
String message
org.apache.james.mime4j.stream.Event event
private void readRawField () throws java.io.IOException org.apache.james.mime4j.MimeException
int ch
int len
org.apache.james.mime4j.io.MaxLineLimitException e
org.apache.james.mime4j.io.LineReaderInputStream instream
protected boolean nextField () throws org.apache.james.mime4j.MimeException java.io.IOException
org.apache.james.mime4j.stream.RawField rawfield
org.apache.james.mime4j.stream.Field parsedField
org.apache.james.mime4j.io.LineReaderInputStream instream
org.apache.james.mime4j.util.ByteArrayBuffer buf
org.apache.james.mime4j.MimeException e
int maxHeaderCount
public org.apache.james.mime4j.stream.EntityStateMachine advance () throws java.io.IOException org.apache.james.mime4j.MimeException
boolean empty
String mimeType
boolean empty
private void createMimePartStream () throws org.apache.james.mime4j.MimeException java.io.IOException
IllegalArgumentException e
String boundary
private void clearMimePartStream ()
private void advanceToBoundary () throws java.io.IOException
java.io.InputStream instream
private org.apache.james.mime4j.stream.EntityStateMachine nextMessage ()
java.io.InputStream instream
private java.io.InputStream decodedStream (java.io.InputStream)
java.io.InputStream instream
String transferEncoding
private org.apache.james.mime4j.stream.EntityStateMachine nextMimeEntity ()
private org.apache.james.mime4j.stream.EntityStateMachine nextMimeEntity (org.apache.james.mime4j.stream.EntityState, org.apache.james.mime4j.stream.EntityState, java.io.InputStream)
org.apache.james.mime4j.stream.RawEntity message
org.apache.james.mime4j.stream.MimeEntity mimeentity
org.apache.james.mime4j.stream.EntityState startState
org.apache.james.mime4j.stream.EntityState endState
java.io.InputStream instream
private java.io.InputStream getLimitedContentStream ()
long maxContentLimit
public org.apache.james.mime4j.stream.BodyDescriptor getBodyDescriptor ()
public org.apache.james.mime4j.stream.Field getField ()
public java.io.InputStream getContentStream ()
public java.io.InputStream getDecodedContentStream () throws java.lang.IllegalStateException
public java.lang.String toString ()
public static final java.lang.String stateToString (org.apache.james.mime4j.stream.EntityState)
org.apache.james.mime4j.stream.EntityState state
String result
}
org/apache/james/mime4j/stream/MimeParseEventException.classMimeParseEventException.java
package org.apache.james.mime4j.stream
public org.apache.james.mime4j.stream.MimeParseEventException extends org.apache.james.mime4j.MimeException {
private static final long serialVersionUID
private final org.apache.james.mime4j.stream.Event event
public void (org.apache.james.mime4j.stream.Event)
org.apache.james.mime4j.stream.Event event
public org.apache.james.mime4j.stream.Event getEvent ()
}
org/apache/james/mime4j/stream/MimeTokenStream.classMimeTokenStream.java
package org.apache.james.mime4j.stream
public org.apache.james.mime4j.stream.MimeTokenStream extends java.lang.Object {
private final org.apache.james.mime4j.stream.MimeConfig config
private final org.apache.james.mime4j.codec.DecodeMonitor monitor
private final org.apache.james.mime4j.stream.FieldBuilder fieldBuilder
private final org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
private final java.util.LinkedList entities
private org.apache.james.mime4j.stream.EntityState state
private org.apache.james.mime4j.stream.EntityStateMachine currentStateMachine
private org.apache.james.mime4j.stream.RecursionMode recursionMode
private org.apache.james.mime4j.stream.MimeEntity rootentity
public void ()
public void (org.apache.james.mime4j.stream.MimeConfig)
org.apache.james.mime4j.stream.MimeConfig config
public void (org.apache.james.mime4j.stream.MimeConfig, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.stream.MimeConfig config
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
public void (org.apache.james.mime4j.stream.MimeConfig, org.apache.james.mime4j.codec.DecodeMonitor, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.stream.MimeConfig config
org.apache.james.mime4j.codec.DecodeMonitor monitor
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
public void (org.apache.james.mime4j.stream.MimeConfig, org.apache.james.mime4j.codec.DecodeMonitor, org.apache.james.mime4j.stream.FieldBuilder, org.apache.james.mime4j.stream.BodyDescriptorBuilder)
org.apache.james.mime4j.stream.MimeConfig config
org.apache.james.mime4j.codec.DecodeMonitor monitor
org.apache.james.mime4j.stream.FieldBuilder fieldBuilder
org.apache.james.mime4j.stream.BodyDescriptorBuilder bodyDescBuilder
public void parse (java.io.InputStream)
java.io.InputStream stream
public org.apache.james.mime4j.stream.Field parseHeadless (java.io.InputStream, java.lang.String)
org.apache.james.mime4j.stream.RawField rawContentType
org.apache.james.mime4j.MimeException ex
java.io.IOException e
org.apache.james.mime4j.MimeException e
java.io.InputStream stream
String contentType
org.apache.james.mime4j.stream.Field newContentType
private void doParse (java.io.InputStream, org.apache.james.mime4j.stream.EntityState)
org.apache.james.mime4j.io.LineNumberInputStream lineInput
java.io.InputStream stream
org.apache.james.mime4j.stream.EntityState start
org.apache.james.mime4j.io.LineNumberSource lineSource
public boolean isRaw ()
public org.apache.james.mime4j.stream.RecursionMode getRecursionMode ()
public void setRecursionMode (org.apache.james.mime4j.stream.RecursionMode)
org.apache.james.mime4j.stream.RecursionMode mode
public void stop ()
public org.apache.james.mime4j.stream.EntityState getState ()
public java.io.InputStream getInputStream ()
public java.io.InputStream getDecodedInputStream ()
public java.io.Reader getReader ()
java.nio.charset.Charset charset
org.apache.james.mime4j.stream.BodyDescriptor bodyDescriptor
String mimeCharset
java.nio.charset.Charset charset
java.io.InputStream instream
public org.apache.james.mime4j.stream.BodyDescriptor getBodyDescriptor ()
public org.apache.james.mime4j.stream.Field getField ()
public org.apache.james.mime4j.stream.EntityState next () throws java.io.IOException org.apache.james.mime4j.MimeException
org.apache.james.mime4j.stream.EntityStateMachine next
public static final java.lang.String stateToString (org.apache.james.mime4j.stream.EntityState)
org.apache.james.mime4j.stream.EntityState state
public org.apache.james.mime4j.stream.MimeConfig getConfig ()
}
org/apache/james/mime4j/stream/NameValuePair.classNameValuePair.java
package org.apache.james.mime4j.stream
public final org.apache.james.mime4j.stream.NameValuePair extends java.lang.Object {
private final String name
private final String value
public void (java.lang.String, java.lang.String)
String name
String value
public java.lang.String getName ()
public java.lang.String getValue ()
public java.lang.String toString ()
StringBuilder buffer
public boolean equals (java.lang.Object)
org.apache.james.mime4j.stream.NameValuePair that
Object object
public int hashCode ()
int hash
}
org/apache/james/mime4j/stream/ParserCursor.classParserCursor.java
package org.apache.james.mime4j.stream
public org.apache.james.mime4j.stream.ParserCursor extends java.lang.Object {
private final int lowerBound
private final int upperBound
private int pos
public void (int, int)
int lowerBound
int upperBound
public int getLowerBound ()
public int getUpperBound ()
public int getPos ()
public void updatePos (int)
int pos
public boolean atEnd ()
public java.lang.String toString ()
StringBuilder buffer
}
org/apache/james/mime4j/stream/RawBody.classRawBody.java
package org.apache.james.mime4j.stream
public final org.apache.james.mime4j.stream.RawBody extends java.lang.Object {
private final String value
private final java.util.List params
void (java.lang.String, java.util.List)
String value
java.util.List params
public java.lang.String getValue ()
public java.util.List getParams ()
public java.lang.String toString ()
org.apache.james.mime4j.stream.NameValuePair param
java.util.Iterator i$
StringBuilder buf
}
org/apache/james/mime4j/stream/RawEntity.classRawEntity.java
package org.apache.james.mime4j.stream
public org.apache.james.mime4j.stream.RawEntity extends java.lang.Object implements org.apache.james.mime4j.stream.EntityStateMachine {
private final java.io.InputStream stream
private org.apache.james.mime4j.stream.EntityState state
void (java.io.InputStream)
java.io.InputStream stream
public org.apache.james.mime4j.stream.EntityState getState ()
public void setRecursionMode (org.apache.james.mime4j.stream.RecursionMode)
org.apache.james.mime4j.stream.RecursionMode recursionMode
public org.apache.james.mime4j.stream.EntityStateMachine advance ()
public java.io.InputStream getContentStream ()
public org.apache.james.mime4j.stream.BodyDescriptor getBodyDescriptor ()
public org.apache.james.mime4j.stream.RawField getField ()
public java.lang.String getFieldName ()
public java.lang.String getFieldValue ()
public java.io.InputStream getDecodedContentStream () throws java.lang.IllegalStateException
public volatile org.apache.james.mime4j.stream.Field getField () throws java.lang.IllegalStateException
}
org/apache/james/mime4j/stream/RawField.classRawField.java
package org.apache.james.mime4j.stream
public final org.apache.james.mime4j.stream.RawField extends java.lang.Object implements org.apache.james.mime4j.stream.Field {
private final org.apache.james.mime4j.util.ByteSequence raw
private final int delimiterIdx
private final String name
private final String body
void (org.apache.james.mime4j.util.ByteSequence, int, java.lang.String, java.lang.String)
org.apache.james.mime4j.util.ByteSequence raw
int delimiterIdx
String name
String body
public void (java.lang.String, java.lang.String)
String name
String body
public org.apache.james.mime4j.util.ByteSequence getRaw ()
public java.lang.String getName ()
public java.lang.String getBody ()
int len
int off
public int getDelimiterIdx ()
public java.lang.String toString ()
StringBuilder buf
}
org/apache/james/mime4j/stream/RawFieldParser.classRawFieldParser.java
package org.apache.james.mime4j.stream
public org.apache.james.mime4j.stream.RawFieldParser extends java.lang.Object {
static final java.util.BitSet COLON
static final java.util.BitSet EQUAL_OR_SEMICOLON
static final java.util.BitSet SEMICOLON
public static final org.apache.james.mime4j.stream.RawFieldParser DEFAULT
public void ()
public static transient java.util.BitSet INIT_BITSET (int[])
int i
int[] b
java.util.BitSet bitset
public org.apache.james.mime4j.stream.RawField parseField (org.apache.james.mime4j.util.ByteSequence) throws org.apache.james.mime4j.MimeException
org.apache.james.mime4j.util.ByteSequence raw
org.apache.james.mime4j.stream.ParserCursor cursor
String name
public org.apache.james.mime4j.stream.RawBody parseRawBody (org.apache.james.mime4j.stream.RawField)
String body
org.apache.james.mime4j.stream.RawField field
org.apache.james.mime4j.util.ByteSequence buf
int pos
org.apache.james.mime4j.stream.ParserCursor cursor
public org.apache.james.mime4j.stream.RawBody parseRawBody (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor)
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
String value
java.util.List params
public java.util.List parseParameters (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor)
org.apache.james.mime4j.stream.NameValuePair param
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
java.util.List params
public org.apache.james.mime4j.stream.NameValuePair parseParameter (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor)
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
String name
int delim
String value
public java.lang.String parseToken (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor, java.util.BitSet)
char current
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
java.util.BitSet delimiters
StringBuilder dst
boolean whitespace
public java.lang.String parseValue (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor, java.util.BitSet)
char current
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
java.util.BitSet delimiters
StringBuilder dst
boolean whitespace
public void skipWhiteSpace (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor)
char current
int i
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
int pos
int indexFrom
int indexTo
public void skipComment (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor)
int i
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
int pos
int indexFrom
int indexTo
char current
int level
boolean escaped
public void skipAllWhiteSpace (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor)
char current
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
public void copyContent (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor, java.util.BitSet, java.lang.StringBuilder)
char current
int i
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
java.util.BitSet delimiters
StringBuilder dst
int pos
int indexFrom
int indexTo
public void copyQuotedContent (org.apache.james.mime4j.util.ByteSequence, org.apache.james.mime4j.stream.ParserCursor, java.lang.StringBuilder)
int i
org.apache.james.mime4j.util.ByteSequence buf
org.apache.james.mime4j.stream.ParserCursor cursor
StringBuilder dst
int pos
int indexFrom
int indexTo
char current
boolean escaped
static void ()
}
org/apache/james/mime4j/stream/RecursionMode.classRecursionMode.java
package org.apache.james.mime4j.stream
public final org.apache.james.mime4j.stream.RecursionMode extends java.lang.Enum {
public static final org.apache.james.mime4j.stream.RecursionMode M_RECURSE
public static final org.apache.james.mime4j.stream.RecursionMode M_NO_RECURSE
public static final org.apache.james.mime4j.stream.RecursionMode M_RAW
public static final org.apache.james.mime4j.stream.RecursionMode M_FLAT
private static final org.apache.james.mime4j.stream.RecursionMode[] $VALUES
public static org.apache.james.mime4j.stream.RecursionMode[] values ()
public static org.apache.james.mime4j.stream.RecursionMode valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
org/apache/james/mime4j/util/ByteArrayBuffer.classByteArrayBuffer.java
package org.apache.james.mime4j.util
public final org.apache.james.mime4j.util.ByteArrayBuffer extends java.lang.Object implements org.apache.james.mime4j.util.ByteSequence {
private byte[] buffer
private int len
public void (int)
int capacity
public void (byte[], boolean)
byte[] bytes
boolean dontCopy
public void (byte[], int, boolean)
byte[] bytes
int len
boolean dontCopy
private void expand (int)
int newlen
byte[] newbuffer
public void append (byte[], int, int)
byte[] b
int off
int len
int newlen
public void append (int)
int b
int newlen
public void clear ()
public byte[] toByteArray ()
byte[] b
public byte byteAt (int)
int i
public int capacity ()
public int length ()
public byte[] buffer ()
public int indexOf (byte)
byte b
public int indexOf (byte, int, int)
int i
byte b
int beginIndex
int endIndex
public void setLength (int)
int len
public void remove (int, int)
int off
int len
int remaining
public boolean isEmpty ()
public boolean isFull ()
public java.lang.String toString ()
}
org/apache/james/mime4j/util/ByteSequence.classByteSequence.java
package org.apache.james.mime4j.util
public abstract org.apache.james.mime4j.util.ByteSequence extends java.lang.Object {
public static final org.apache.james.mime4j.util.ByteSequence EMPTY
public abstract int length ()
public abstract byte byteAt (int)
public abstract byte[] toByteArray ()
static void ()
}
org/apache/james/mime4j/util/CharsetUtil.classCharsetUtil.java
package org.apache.james.mime4j.util
public org.apache.james.mime4j.util.CharsetUtil extends java.lang.Object {
public static final String CRLF
public static final int CR
public static final int LF
public static final int SP
public static final int HT
public static final java.nio.charset.Charset US_ASCII
public static final java.nio.charset.Charset ISO_8859_1
public static final java.nio.charset.Charset UTF_8
public static final java.nio.charset.Charset DEFAULT_CHARSET
public void ()
public static boolean isASCII (char)
char ch
public static boolean isASCII (java.lang.String)
int i
String s
int len
public static boolean isWhitespace (char)
char ch
public static boolean isWhitespace (java.lang.String)
int i
String s
int len
public static java.nio.charset.Charset lookup (java.lang.String)
java.nio.charset.IllegalCharsetNameException ex
java.nio.charset.UnsupportedCharsetException ex
String name
static void ()
}
org/apache/james/mime4j/util/ContentUtil.classContentUtil.java
package org.apache.james.mime4j.util
public org.apache.james.mime4j.util.ContentUtil extends java.lang.Object {
private void ()
public static org.apache.james.mime4j.util.ByteSequence encode (java.lang.String)
int i
String string
org.apache.james.mime4j.util.ByteArrayBuffer buf
public static org.apache.james.mime4j.util.ByteSequence encode (java.nio.charset.Charset, java.lang.String)
java.nio.charset.Charset charset
String string
java.nio.ByteBuffer encoded
org.apache.james.mime4j.util.ByteArrayBuffer buf
public static java.lang.String decode (org.apache.james.mime4j.util.ByteSequence)
org.apache.james.mime4j.util.ByteSequence byteSequence
public static java.lang.String decode (java.nio.charset.Charset, org.apache.james.mime4j.util.ByteSequence)
java.nio.charset.Charset charset
org.apache.james.mime4j.util.ByteSequence byteSequence
public static java.lang.String decode (org.apache.james.mime4j.util.ByteSequence, int, int)
int i
org.apache.james.mime4j.util.ByteSequence byteSequence
int offset
int length
StringBuilder buf
public static java.lang.String decode (java.nio.charset.Charset, org.apache.james.mime4j.util.ByteSequence, int, int)
org.apache.james.mime4j.util.ByteArrayBuffer bab
byte[] bytes
java.nio.charset.Charset charset
org.apache.james.mime4j.util.ByteSequence byteSequence
int offset
int length
private static java.lang.String decode (java.nio.charset.Charset, byte[], int, int)
java.nio.charset.Charset charset
byte[] buffer
int offset
int length
}
org/apache/james/mime4j/util/EmptyByteSequence.classEmptyByteSequence.java
package org.apache.james.mime4j.util
final org.apache.james.mime4j.util.EmptyByteSequence extends java.lang.Object implements org.apache.james.mime4j.util.ByteSequence {
private static final byte[] EMPTY_BYTES
void ()
public int length ()
public byte byteAt (int)
int index
public byte[] toByteArray ()
static void ()
}
org/apache/james/mime4j/util/LangUtils.classLangUtils.java
package org.apache.james.mime4j.util
public final org.apache.james.mime4j.util.LangUtils extends java.lang.Object {
public static final int HASH_SEED
public static final int HASH_OFFSET
private void ()
public static int hashCode (int, int)
int seed
int hashcode
public static int hashCode (int, boolean)
int seed
boolean b
public static int hashCode (int, java.lang.Object)
int seed
Object obj
public static boolean equals (java.lang.Object, java.lang.Object)
Object obj1
Object obj2
public static boolean equalsIgnoreCase (java.lang.String, java.lang.String)
String s1
String s2
}
org/apache/james/mime4j/util/MimeUtil$1.classMimeUtil.java
package org.apache.james.mime4j.util
final org.apache.james.mime4j.util.MimeUtil$1 extends java.lang.ThreadLocal {
void ()
protected java.text.DateFormat initialValue ()
protected volatile java.lang.Object initialValue ()
}
org/apache/james/mime4j/util/MimeUtil$Rfc822DateFormat.classMimeUtil.java
package org.apache.james.mime4j.util
final org.apache.james.mime4j.util.MimeUtil$Rfc822DateFormat extends java.text.SimpleDateFormat {
private static final long serialVersionUID
public void ()
public java.lang.StringBuffer format (java.util.Date, java.lang.StringBuffer, java.text.FieldPosition)
java.util.Date date
StringBuffer toAppendTo
java.text.FieldPosition pos
StringBuffer sb
int zoneMillis
int dstMillis
int minutes
}
org/apache/james/mime4j/util/MimeUtil.classMimeUtil.java
package org.apache.james.mime4j.util
public final org.apache.james.mime4j.util.MimeUtil extends java.lang.Object {
public static final String ENC_QUOTED_PRINTABLE
public static final String ENC_BINARY
public static final String ENC_BASE64
public static final String ENC_8BIT
public static final String ENC_7BIT
private static final java.util.Random random
private static int counter
private static final ThreadLocal RFC822_DATE_FORMAT
private void ()
public static boolean isSameMimeType (java.lang.String, java.lang.String)
String pType1
String pType2
public static boolean isMessage (java.lang.String)
String pMimeType
public static boolean isMultipart (java.lang.String)
String pMimeType
public static boolean isBase64Encoding (java.lang.String)
String pTransferEncoding
public static boolean isQuotedPrintableEncoded (java.lang.String)
String pTransferEncoding
public static java.lang.String createUniqueBoundary ()
StringBuilder sb
public static java.lang.String createUniqueMessageId (java.lang.String)
String hostName
StringBuilder sb
public static java.lang.String formatDate (java.util.Date, java.util.TimeZone)
java.util.Date date
java.util.TimeZone zone
java.text.DateFormat df
public static java.lang.String fold (java.lang.String, int)
int nextWspIdx
String s
int usedCharacters
int maxCharacters
int length
StringBuilder sb
int lastLineBreak
int wspIdx
public static java.lang.String unfold (java.lang.String)
char c
int idx
String s
int length
private static java.lang.String unfold0 (java.lang.String, int)
char c
int idx
String s
int crlfIdx
int length
StringBuilder sb
private static int indexOfWsp (java.lang.String, int)
char c
int index
String s
int fromIndex
int len
private static synchronized int nextCounterValue ()
static void ()
}
META-INF/maven/
META-INF/maven/org.apache.james/
META-INF/maven/org.apache.james/apache-mime4j-core/
META-INF/maven/org.apache.james/apache-mime4j-core/pom.xml
META-INF/maven/org.apache.james/apache-mime4j-core/pom.properties