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

java.lang.Object
   |
   +----javax.mail.Message
           |
           +----grendel.storage.MessageReadOnly
                   |
                   +----grendel.storage.MessageBase
                           |
                           +----grendel.storage.NewsMessage

class  NewsMessage
     extends grendel.storage.MessageBase
{
          // Fields 3
     int article_number;
     int byte_length;
     int line_length;

          // Constructors 3
     NewsMessage(NewsFolder, InternetHeaders);
     NewsMessage(NewsFolder, long, long, ByteBuf, ByteBuf, ByteBuf, ByteBuf, ByteBuf[]);
     NewsMessage(NewsFolder, long, long, ByteBuf, ByteBuf, ByteBuf, MessageID, MessageID[]);

          // Methods 10
     public InputStream getInputStream() throws MessagingException;
     public InputStream getInputStreamWithHeaders() throws MessagingException;
     public int getLineCount();
     public int getSize();
     int getStorageFolderIndex();
     protected void setFlagBit(long, boolean);
     void setLines(int);
     void setSize(int);
     void setStorageFolderIndex(int);
     public void writeTo(OutputStream);
}



Fields


article_number

   int article_number


byte_length

   int byte_length


line_length

   int line_length



Constructors


NewsMessage

   NewsMessage(NewsFolder f, 
               InternetHeaders h) 


NewsMessage

   NewsMessage(NewsFolder f, 
               long date, 
               long flags, 
               ByteBuf author, 
               ByteBuf recipient, 
               ByteBuf subj, 
               ByteBuf id, 
               ByteBuf[] refs) 


NewsMessage

   NewsMessage(NewsFolder f, 
               long date, 
               long flags, 
               ByteBuf author, 
               ByteBuf recipient, 
               ByteBuf subj, 
               MessageID id, 
               MessageID[] refs) 



Methods


setSize

   void setSize(int l) 


getSize

   public int getSize() 
Overrides:
getSize in class Message


setLines

   void setLines(int l) 


getLineCount

   public int getLineCount() 
Overrides:
getLineCount in class Message


setStorageFolderIndex

   void setStorageFolderIndex(int p) 


getStorageFolderIndex

   int getStorageFolderIndex() 


getInputStreamWithHeaders

   public InputStream getInputStreamWithHeaders()  throws MessagingException
Overrides:
getInputStreamWithHeaders in class MessageReadOnly


getInputStream

   public InputStream getInputStream()  throws MessagingException
Overrides:
getInputStream in class MessageReadOnly


setFlagBit

   protected void setFlagBit(long flag, 
                             boolean value) 


writeTo

   public void writeTo(OutputStream aStream) 
Overrides:
writeTo in class Message


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