The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback
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.