You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.mime.parser.MimeObject

java.lang.Object
   |
   +----grendel.mime.parser.MimeObject

This is the base class for objects implementing parsers for MIME parts. It implements the IMimeObject interface.

The class hierarchy is:

  • MimeObject (abstract)
    • MimeContainer (abstract)
      • MimeMultipart
        • MimeMultipartDigest
        • MimeXSunAttachment
      • MimeMessageRFC822
        • MimeMessageExternalBody
      • MimeDwimText
    • MimeLeaf (abstract)


abstract class  MimeObject
     extends java.lang.Object
     implements grendel.mime.IMimeObject, 
                grendel.mime.IMimeParser
{
          // Fields 4
     String content_type;
     InternetHeaders headers;
     String id;
     IMimeOperator operator;

          // Constructors 1
     public MimeObject(String, InternetHeaders);

          // Methods 8
     public abstract Enumeration children();
     public String contentType();
     public IMimeObject getObject();
     public InternetHeaders headers();
     public String partID();
     public abstract void pushBytes(ByteBuf);
     public void pushEOF();
     public void setOperator(IMimeOperator);
}



Fields


content_type

   String content_type


headers

   InternetHeaders headers


id

   String id


operator

   IMimeOperator operator



Constructors


MimeObject

   public MimeObject(String content_type, 
                     InternetHeaders headers) 

Creates a parser for a MIME object.




Methods


setOperator

   public void setOperator(IMimeOperator op) 
Implements:
setOperator in interface IMimeParser


getObject

   public IMimeObject getObject() 
Implements:
getObject in interface IMimeParser


pushBytes

   public abstract void pushBytes(ByteBuf buffer) 
Implements:
pushBytes in interface IMimeParser


pushEOF

   public void pushEOF() 
Implements:
pushEOF in interface IMimeParser


contentType

   public String contentType() 
Implements:
contentType in interface IMimeObject


headers

   public InternetHeaders headers() 
Implements:
headers in interface IMimeObject


partID

   public String partID() 
Implements:
partID in interface IMimeObject


children

   public abstract Enumeration children() 
Implements:
children in interface IMimeObject


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4