![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.mime.parser.MimeMultipartjava.lang.Object | +----grendel.mime.parser.MimeObject | +----grendel.mime.parser.MimeContainer | +----grendel.mime.parser.MimeMultipart This class implements the parser for all "multipart/" MIME subtypes.
See Also: MimeMultipartDigest, MimeDwimText, MimeXSunAttachment
class MimeMultipart
extends grendel.mime.parser.MimeContainer
{
// Fields 14
protected static final int BOUNDARY_NONE;
protected static final int BOUNDARY_SEPARATOR;
protected static final int BOUNDARY_TERMINATOR;
protected static final int MULTIPART_EPILOGUE;
protected static final int MULTIPART_FIRST_LINE;
protected static final int MULTIPART_HEADERS;
protected static final int MULTIPART_LINE;
protected static final int MULTIPART_PREAMBLE;
ByteBuf boundary;
InternetHeaders child_headers;
ByteBuf crlf;
ByteLineBuffer line_buffer;
ByteBuf line_bytes;
int state;
// Constructors 1
public MimeMultipart(String, InternetHeaders);
// Methods 8
protected int checkBoundary(ByteBuf);
protected void computeBoundary();
protected void createMultipartChild();
public String defaultSubpartType();
private void process_line(ByteBuf);
public void pushBytes(ByteBuf);
public void pushEOF();
private void push_child_line(ByteBuf, boolean);
}
Fields line_bufferByteLineBuffer line_buffer line_bytesByteBuf line_bytes boundaryByteBuf boundary crlfByteBuf crlf child_headersInternetHeaders child_headers stateint state BOUNDARY_NONEprotected static final int BOUNDARY_NONE BOUNDARY_TERMINATORprotected static final int BOUNDARY_TERMINATOR BOUNDARY_SEPARATORprotected static final int BOUNDARY_SEPARATOR MULTIPART_PREAMBLEprotected static final int MULTIPART_PREAMBLE MULTIPART_HEADERSprotected static final int MULTIPART_HEADERS MULTIPART_FIRST_LINEprotected static final int MULTIPART_FIRST_LINE MULTIPART_LINEprotected static final int MULTIPART_LINE MULTIPART_EPILOGUEprotected static final int MULTIPART_EPILOGUE
Constructors MimeMultipartpublic MimeMultipart(String content_type, InternetHeaders headers) Methods computeBoundaryprotected void computeBoundary() defaultSubpartTypepublic String defaultSubpartType()
pushBytespublic void pushBytes(ByteBuf bytes)
pushEOFpublic void pushEOF()
process_lineprivate void process_line(ByteBuf line)
checkBoundaryprotected int checkBoundary(ByteBuf line_buf) createMultipartChildprotected void createMultipartChild() push_child_lineprivate void push_child_line(ByteBuf line_buf, boolean first_line_p) All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|||||||
| Copyright © 1998-1999 The Mozilla Organization. | |||||||