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.html.MimeMultipartAlternativeOperator
All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.mime.html.MimeMultipartAlternativeOperator

java.lang.Object
   |
   +----grendel.mime.html.MimeHTMLOperator
           |
           +----grendel.mime.html.MimeMultipartAlternativeOperator

This class converts the multipart/alternative MIME type to HTML, by buffering the sub-parts and extracting the most appropriate one.


class  MimeMultipartAlternativeOperator
     extends grendel.mime.html.MimeHTMLOperator
{
          // Fields 5
     IMimeOperator current_child;
     ByteBuf current_output_buffer;
     boolean done;
     IMimeObject saved_child;
     ByteBuf saved_output_buffer;

          // Constructors 1
     MimeMultipartAlternativeOperator(IMimeObject, PrintStream);

          // Methods 4
     private void closeOpenChild();
     public IMimeOperator createChild(IMimeObject);
     public void pushBytes(ByteBuf);
     public void pushEOF();
}



Fields


done

   boolean done


saved_child

   IMimeObject saved_child


current_child

   IMimeOperator current_child


saved_output_buffer

   ByteBuf saved_output_buffer


current_output_buffer

   ByteBuf current_output_buffer



Constructors


MimeMultipartAlternativeOperator

   MimeMultipartAlternativeOperator(IMimeObject object, 
                                    PrintStream out) 



Methods


closeOpenChild

   private void closeOpenChild() 


createChild

   public IMimeOperator createChild(IMimeObject obj) 
Overrides:
createChild in class MimeHTMLOperator


pushEOF

   public void pushEOF() 


pushBytes

   public void pushBytes(ByteBuf b) 


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.