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

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

class  PopMessage
     extends grendel.storage.MessageReadOnly
     implements grendel.storage.MessageExtra
{
          // Fields 7
     boolean deleted;
     boolean deletedValid;
     MessageExtraWrapper extra;
     InternetHeaders headers;
     boolean recent;
     boolean recentValid;
     String uidl;

          // Constructors 1
     PopMessage(PopFolder, int);

          // Methods 36
     public String getAuthor() throws MessagingException;
     public Object getContent();
     public DataHandler getDataHandler();
     protected MessageExtra getExtra();
     public Flags getFlags() throws MessagingException;
     protected InternetHeaders getHeadersObj() throws MessagingException;
     public InputStream getInputStreamWithHeaders() throws MessagingException;
     public int getLineCount() throws MessagingException;
     public Object getMessageID() throws MessagingException;
     public Date getReceivedDate() throws MessagingException;
     public String getRecipient() throws MessagingException;
     public int getSize() throws MessagingException;
     protected String getStateValue() throws MessagingException;
     public String getUidl() throws MessagingException;
     public boolean isDeleted() throws MessagingException;
     public boolean isFlagged();
     public boolean isForwarded();
     public boolean isRead();
     public boolean isRecent() throws MessagingException;
     public boolean isReplied();
     public boolean isSet(Flag) throws MessagingException;
     protected void loadFlags();
     public Object[] messageThreadReferences() throws MessagingException;
     public void saveChanges() throws MessagingException;
     public void setDeleted(boolean);
     public void setFlagged(boolean);
     public void setFlags(Flags, boolean) throws MessagingException;
     public void setForwarded(boolean);
     public void setIsRead(boolean);
     public void setRecent(boolean);
     public void setReplied(boolean);
     public synchronized void setUidl(String);
     public String simplifiedDate() throws MessagingException;
     public String simplifiedSubject() throws MessagingException;
     public boolean subjectIsReply() throws MessagingException;
     public void writeTo(OutputStream) throws MessagingException;
}



Fields


headers

   InternetHeaders headers


uidl

   String uidl


deletedValid

   boolean deletedValid


deleted

   boolean deleted


recentValid

   boolean recentValid


recent

   boolean recent


extra

   MessageExtraWrapper extra



Constructors


PopMessage

   PopMessage(PopFolder f, 
              int num) 



Methods


getHeadersObj

   protected InternetHeaders getHeadersObj()  throws MessagingException
Overrides:
getHeadersObj in class MessageReadOnly


getExtra

   protected MessageExtra getExtra() 


getReceivedDate

   public Date getReceivedDate()  throws MessagingException
Overrides:
getReceivedDate in class Message


getFlags

   public Flags getFlags()  throws MessagingException
Overrides:
getFlags in class Message


isSet

   public boolean isSet(Flag flag)  throws MessagingException


setFlags

   public void setFlags(Flags flags, 
                        boolean flag)  throws MessagingException
Overrides:
setFlags in class Message


writeTo

   public void writeTo(OutputStream outputStream)  throws MessagingException
Overrides:
writeTo in class Message


saveChanges

   public void saveChanges()  throws MessagingException
Overrides:
saveChanges in class Message


getSize

   public int getSize()  throws MessagingException
Overrides:
getSize in class Message


getLineCount

   public int getLineCount()  throws MessagingException
Overrides:
getLineCount in class Message


getInputStreamWithHeaders

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


getDataHandler

   public DataHandler getDataHandler() 
Overrides:
getDataHandler in class Message


getContent

   public Object getContent() 
Overrides:
getContent in class Message


getAuthor

   public String getAuthor()  throws MessagingException
Implements:
getAuthor in interface MessageExtra


getRecipient

   public String getRecipient()  throws MessagingException

The name of the recipient of this message (not this email address).

Implements:
getRecipient in interface MessageExtra


simplifiedSubject

   public String simplifiedSubject()  throws MessagingException

The subject, minus any "Re:" part.

Implements:
simplifiedSubject in interface MessageExtra


subjectIsReply

   public boolean subjectIsReply()  throws MessagingException

Whether the subject has a "Re:" part."

Implements:
subjectIsReply in interface MessageExtra


simplifiedDate

   public String simplifiedDate()  throws MessagingException

A short rendition of the sent date.

Implements:
simplifiedDate in interface MessageExtra


getMessageID

   public Object getMessageID()  throws MessagingException

A unique object representing the message-id for this message.

Implements:
getMessageID in interface MessageExtra


messageThreadReferences

   public Object[] messageThreadReferences()  throws MessagingException

A list of the above messageid objects that this message has references to.

Implements:
messageThreadReferences in interface MessageExtra


loadFlags

   protected void loadFlags() 


isRead

   public boolean isRead() 
Implements:
isRead in interface MessageExtra


setIsRead

   public void setIsRead(boolean value) 
Implements:
setIsRead in interface MessageExtra


isReplied

   public boolean isReplied() 
Implements:
isReplied in interface MessageExtra


setReplied

   public void setReplied(boolean value) 
Implements:
setReplied in interface MessageExtra


isForwarded

   public boolean isForwarded() 
Implements:
isForwarded in interface MessageExtra


setForwarded

   public void setForwarded(boolean value) 
Implements:
setForwarded in interface MessageExtra


isFlagged

   public boolean isFlagged() 
Implements:
isFlagged in interface MessageExtra


setFlagged

   public void setFlagged(boolean value) 
Implements:
setFlagged in interface MessageExtra


isDeleted

   public boolean isDeleted()  throws MessagingException
Implements:
isDeleted in interface MessageExtra


setDeleted

   public void setDeleted(boolean value) 
Implements:
setDeleted in interface MessageExtra


isRecent

   public boolean isRecent()  throws MessagingException


setRecent

   public void setRecent(boolean value) 


getStateValue

   protected String getStateValue()  throws MessagingException


getUidl

   public String getUidl()  throws MessagingException


setUidl

   public synchronized void setUidl(String u) 


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