The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.mime.parser.MimeContainer
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
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998.