All Packages This Package Class Hierarchy Class Search Index
Class grendel.mime.parser.MimeMessageRFC822
java.lang.Object | +----grendel.mime.parser.MimeObject | +----grendel.mime.parser.MimeContainer | +----grendel.mime.parser.MimeMessageRFC822
This class implements the parser for the message/rfc822 and message/news MIME containers, which is to say, mail and news messages. This is a container which holds exactly one child, the body: messages with multiple parts are those which have a multipart/ as their body.
See Also: MimeMultipart, MimeLeaf
class MimeMessageRFC822 extends grendel.mime.parser.MimeContainer { // Fields 3 InternetHeaders child_headers; ByteLineBuffer line_buffer; ByteBuf line_bytes; // Constructors 1 public MimeMessageRFC822(String, InternetHeaders); // Methods 3 void process_line(ByteBuf); public void pushBytes(ByteBuf); public void pushEOF(); }
Fields
line_buffer
ByteLineBuffer line_buffer
line_bytes
ByteBuf line_bytes
child_headers
InternetHeaders child_headers
Constructors
MimeMessageRFC822
public MimeMessageRFC822(String content_type, InternetHeaders headers)
Methods
pushBytes
public void pushBytes(ByteBuf bytes)
Buffers the bytes into lines, and calls process_line() on each line.
- Overrides:
- pushBytes in class MimeObject
pushEOF
public void pushEOF()
Flushes the line buffer, and (maybe) calls process_line() one last time.
- Overrides:
- pushEOF in class MimeContainer
process_line
void process_line(ByteBuf line)
Called for each line of this message.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4