Constructor and Description |
---|
MimeIOException(MimeException cause)
Constructs an IO exception based on
MimeException . |
Modifier and Type | Class and Description |
---|---|
class |
ParseException
This exception is thrown when parse errors are encountered.
|
Modifier and Type | Method and Description |
---|---|
static ParsedField |
AbstractField.parse(ByteSequence raw)
Parses the given byte sequence and returns an instance of the
Field class. |
static ParsedField |
AbstractField.parse(java.lang.String rawStr)
Parses the given string and returns an instance of the
Field class. |
Modifier and Type | Class and Description |
---|---|
class |
MaxHeaderLimitException
Signals a I/O error due to the header count exceeding the maximum limit.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageBuilder.body(BodyDescriptor bd,
java.io.InputStream is) |
void |
MessageBuilder.endBodyPart() |
void |
MessageBuilder.endHeader() |
void |
MessageBuilder.endMessage() |
void |
MessageBuilder.endMultipart() |
void |
MessageBuilder.epilogue(java.io.InputStream is) |
void |
MessageBuilder.field(Field field) |
void |
SimpleContentHandler.field(Field field) |
void |
MessageBuilder.preamble(java.io.InputStream is) |
void |
MessageBuilder.raw(java.io.InputStream is)
Unsupported.
|
void |
MessageBuilder.startBodyPart() |
void |
MessageBuilder.startHeader() |
void |
MessageBuilder.startMessage() |
void |
MessageBuilder.startMultipart(BodyDescriptor bd) |
Modifier and Type | Class and Description |
---|---|
class |
MimeParseEventException
Indicates that strict parsing has been enabled
and an optional invality has been found in the input.
|
Modifier and Type | Method and Description |
---|---|
EntityStateMachine |
EntityStateMachine.advance()
Advances the state machine to the next state in the
process of the MIME stream parsing.
|
EntityStateMachine |
MimeEntity.advance() |
void |
ContentHandler.body(BodyDescriptor bd,
java.io.InputStream is)
Called when the body of a discrete (non-multipart) entity is about to
be parsed.
|
void |
AbstractContentHandler.body(BodyDescriptor bd,
java.io.InputStream is) |
void |
ContentHandler.endBodyPart()
Called when a body part ends.
|
void |
AbstractContentHandler.endBodyPart() |
void |
ContentHandler.endHeader()
Called when there are no more header fields in a message or body part.
|
void |
AbstractContentHandler.endHeader() |
void |
ContentHandler.endMessage()
Called when a message ends.
|
void |
AbstractContentHandler.endMessage() |
void |
ContentHandler.endMultipart()
Called when the body of an entity has been parsed.
|
void |
AbstractContentHandler.endMultipart() |
void |
ContentHandler.epilogue(java.io.InputStream is)
Called for the epilogue (whatever comes after the final body part)
of a
multipart/* entity. |
void |
AbstractContentHandler.epilogue(java.io.InputStream is) |
void |
ContentHandler.field(Field field)
Called for each field of a header.
|
void |
AbstractContentHandler.field(Field field) |
protected void |
AbstractEntity.monitor(Event event)
Monitors the given event.
|
int |
MimeTokenStream.next()
This method advances the token stream to the next token.
|
void |
MimeStreamParser.parse(java.io.InputStream is)
Parses a stream of bytes containing a MIME message.
|
protected boolean |
AbstractEntity.parseField() |
void |
ContentHandler.preamble(java.io.InputStream is)
Called for the preamble (whatever comes before the first body part)
of a
multipart/* entity. |
void |
AbstractContentHandler.preamble(java.io.InputStream is) |
void |
ContentHandler.raw(java.io.InputStream is)
Called when a new entity (message or body part) starts and the
parser is in
raw mode. |
void |
AbstractContentHandler.raw(java.io.InputStream is) |
void |
ContentHandler.startBodyPart()
Called when a new body part starts inside a
multipart/* entity. |
void |
AbstractContentHandler.startBodyPart() |
void |
ContentHandler.startHeader()
Called when a header (of a message or body part) is about to be parsed.
|
void |
AbstractContentHandler.startHeader() |
void |
ContentHandler.startMessage()
Called when a new message starts (a top level message or an embedded
rfc822 message).
|
void |
AbstractContentHandler.startMessage() |
void |
ContentHandler.startMultipart(BodyDescriptor bd)
Called when the body of a multipart entity is about to be parsed.
|
void |
AbstractContentHandler.startMultipart(BodyDescriptor bd) |
Copyright © 2004-2014. All Rights Reserved.