类 AbstractContentHandler
java.lang.Object
com.sh.mail.mime4j.parser.AbstractContentHandler
- 所有已实现的接口:
ContentHandler
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 16, 2012
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidbody(BodyDescriptor bd, InputStream is) Called when the body of a discrete (non-multipart) entity is about to be parsed.voidCalled when a body part ends.voidCalled when there are no more header fields in a message or body part.voidCalled when a message ends.voidCalled when the body of an entity has been parsed.voidepilogue(InputStream is) Called for the epilogue (whatever comes after the final body part) of amultipart/*entity.voidCalled for each field of a header.voidpreamble(InputStream is) Called for the preamble (whatever comes before the first body part) of amultipart/*entity.voidraw(InputStream is) Called when a new entity (message or body part) starts and the parser is inrawmode.voidCalled when a new body part starts inside amultipart/*entity.voidCalled when a header (of a message or body part) is about to be parsed.voidCalled when a new message starts (a top level message or an embedded rfc822 message).voidCalled when the body of a multipart entity is about to be parsed.
-
构造器详细资料
-
AbstractContentHandler
public AbstractContentHandler()
-
-
方法详细资料
-
endMultipart
从接口复制的说明:ContentHandlerCalled when the body of an entity has been parsed.- 指定者:
endMultipart在接口中ContentHandler- 抛出:
MimeException- on processing errors
-
startMultipart
从接口复制的说明:ContentHandlerCalled when the body of a multipart entity is about to be parsed.- 指定者:
startMultipart在接口中ContentHandler- 参数:
bd- encapsulates the values (either read from the message stream or, if not present, determined implictly as described in the MIME rfc:s) of theContent-TypeandContent-Transfer-Encodingheader fields.- 抛出:
MimeException- on processing errors
-
body
从接口复制的说明:ContentHandlerCalled when the body of a discrete (non-multipart) entity is about to be parsed.- 指定者:
body在接口中ContentHandler- 参数:
bd- seeContentHandler.startMultipart(BodyDescriptor)is- the contents of the body. NOTE: this is the raw body contents - it will not be decoded if encoded. Thebdparameter should be used to determine how the stream data should be decoded.- 抛出:
MimeException- on processing errorsIOException- should be thrown on I/O errors.
-
endBodyPart
从接口复制的说明:ContentHandlerCalled when a body part ends.- 指定者:
endBodyPart在接口中ContentHandler- 抛出:
MimeException- on processing errors
-
endHeader
从接口复制的说明:ContentHandlerCalled when there are no more header fields in a message or body part.- 指定者:
endHeader在接口中ContentHandler- 抛出:
MimeException- on processing errors
-
endMessage
从接口复制的说明:ContentHandlerCalled when a message ends.- 指定者:
endMessage在接口中ContentHandler- 抛出:
MimeException- on processing errors
-
epilogue
从接口复制的说明:ContentHandlerCalled for the epilogue (whatever comes after the final body part) of amultipart/*entity.- 指定者:
epilogue在接口中ContentHandler- 参数:
is- used to get the contents of the epilogue.- 抛出:
MimeException- on processing errorsIOException- should be thrown on I/O errors.
-
field
从接口复制的说明:ContentHandlerCalled for each field of a header.- 指定者:
field在接口中ContentHandler- 参数:
field- the MIME field.- 抛出:
MimeException- on processing errors
-
preamble
从接口复制的说明:ContentHandlerCalled for the preamble (whatever comes before the first body part) of amultipart/*entity.- 指定者:
preamble在接口中ContentHandler- 参数:
is- used to get the contents of the preamble.- 抛出:
MimeException- on processing errorsIOException- should be thrown on I/O errors.
-
startBodyPart
从接口复制的说明:ContentHandlerCalled when a new body part starts inside amultipart/*entity.- 指定者:
startBodyPart在接口中ContentHandler- 抛出:
MimeException- on processing errors
-
startHeader
从接口复制的说明:ContentHandlerCalled when a header (of a message or body part) is about to be parsed.- 指定者:
startHeader在接口中ContentHandler- 抛出:
MimeException- on processing errors
-
startMessage
从接口复制的说明:ContentHandlerCalled when a new message starts (a top level message or an embedded rfc822 message).- 指定者:
startMessage在接口中ContentHandler- 抛出:
MimeException- on processing errors
-
raw
从接口复制的说明:ContentHandlerCalled when a new entity (message or body part) starts and the parser is inrawmode.- 指定者:
raw在接口中ContentHandler- 参数:
is- the raw contents of the entity.- 抛出:
MimeException- on processing errorsIOException- should be thrown on I/O errors.
-