java.lang.Object
org.jvnet.mimepull.MIMEEvent
org.jvnet.mimepull.MIMEEvent.Content
- Enclosing class:
MIMEEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jvnet.mimepull.MIMEEvent
MIMEEvent.Content, MIMEEvent.EndMessage, MIMEEvent.EndPart, MIMEEvent.EVENT_TYPE, MIMEEvent.Headers, MIMEEvent.StartMessage, MIMEEvent.StartPart
-
Field Summary
FieldsFields inherited from class org.jvnet.mimepull.MIMEEvent
END_MESSAGE, END_PART, START_MESSAGE, START_PART
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ByteBuffer
getData()
(package private) MIMEEvent.EVENT_TYPE
Returns a event for parser's current cursor location in the MIME message.
-
Field Details
-
buf
-
-
Constructor Details
-
Content
Content(ByteBuffer buf)
-
-
Method Details
-
getEventType
MIMEEvent.EVENT_TYPE getEventType()Description copied from class:MIMEEvent
Returns a event for parser's current cursor location in the MIME message.MIMEEvent.EVENT_TYPE.START_MESSAGE
andMIMEEvent.EVENT_TYPE.START_MESSAGE
events are generated only once.MIMEEvent.EVENT_TYPE.START_PART
,MIMEEvent.EVENT_TYPE.END_PART
,MIMEEvent.EVENT_TYPE.HEADERS
events are generated only once for each attachment part.MIMEEvent.EVENT_TYPE.CONTENT
event may be generated more than once for an attachment part.- Specified by:
getEventType
in classMIMEEvent
- Returns:
- event type
-
getData
ByteBuffer getData()
-