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