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.MimeContainer

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

This abstract class represents the parsers for all MIME objects which can contain other MIME objects within them.


abstract class  MimeContainer
     extends grendel.mime.parser.MimeObject
{
          // Fields 2
     Vector kids;
     MimeObject open_child;

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

          // Methods 7
     public Enumeration children();
     public void closeChild();
     public MimeObject makeChild(String, InternetHeaders);
     public MimeObject openChild(byte[], InternetHeaders);
     public MimeObject openChild(ByteBuf, InternetHeaders);
     public MimeObject openChild(String, InternetHeaders);
     public void pushEOF();
}



Fields


kids

   Vector kids


open_child

   MimeObject open_child



Constructors


MimeContainer

   public MimeContainer(String content_type, 
                        InternetHeaders headers) 



Methods


children

   public Enumeration children() 
Overrides:
children in class MimeObject


makeChild

   public MimeObject makeChild(String child_type, 
                               InternetHeaders child_headers) 

This method creates a new child part, making the decision about which MIME content-type strings correspond to which subclasses of MimeObject. It does this by mapping the type name to a class name, and attempting to load it from the `grendel.mime.parser' package.



openChild

   public MimeObject openChild(String child_type, 
                               InternetHeaders child_headers) 

This method creates a new child part (via makeChild()), and then creates an operator for it, and installs it in `kids'.



closeChild

   public void closeChild() 


openChild

   public MimeObject openChild(ByteBuf child_type, 
                               InternetHeaders child_headers) 


openChild

   public MimeObject openChild(byte[] child_type, 
                               InternetHeaders child_headers) 


pushEOF

   public void pushEOF() 
Overrides:
pushEOF in class MimeObject


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