Class grendel.storage.PopMessage
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
InternetHeaders headers
String uidl
boolean deletedValid
boolean deleted
boolean recentValid
boolean recent
MessageExtraWrapper extra
Constructors
PopMessage(PopFolder f,
int num)
Methods
protected InternetHeaders getHeadersObj() throws MessagingException
- Overrides:
- getHeadersObj in class MessageReadOnly
protected MessageExtra getExtra()
public Date getReceivedDate() throws MessagingException
- Overrides:
- getReceivedDate in class Message
public Flags getFlags() throws MessagingException
- Overrides:
- getFlags in class Message
public boolean isSet(Flag flag) throws MessagingException
public void setFlags(Flags flags,
boolean flag) throws MessagingException
- Overrides:
- setFlags in class Message
public void writeTo(OutputStream outputStream) throws MessagingException
- Overrides:
- writeTo in class Message
public void saveChanges() throws MessagingException
- Overrides:
- saveChanges in class Message
public int getSize() throws MessagingException
- Overrides:
- getSize in class Message
public int getLineCount() throws MessagingException
- Overrides:
- getLineCount in class Message
public InputStream getInputStreamWithHeaders() throws MessagingException
- Overrides:
- getInputStreamWithHeaders in class MessageReadOnly
- Implements:
- getInputStreamWithHeaders in interface MessageExtra
public DataHandler getDataHandler()
- Overrides:
- getDataHandler in class Message
public Object getContent()
- Overrides:
- getContent in class Message
public String getAuthor() throws MessagingException
- Implements:
- getAuthor in interface MessageExtra
public String getRecipient() throws MessagingException
The name of the recipient of this message (not this email address).
- Implements:
- getRecipient in interface MessageExtra
public String simplifiedSubject() throws MessagingException
The subject, minus any "Re:" part.
- Implements:
- simplifiedSubject in interface MessageExtra
public boolean subjectIsReply() throws MessagingException
Whether the subject has a "Re:" part."
- Implements:
- subjectIsReply in interface MessageExtra
public String simplifiedDate() throws MessagingException
A short rendition of the sent date.
- Implements:
- simplifiedDate in interface MessageExtra
public Object getMessageID() throws MessagingException
A unique object representing the message-id for this message.
- Implements:
- getMessageID in interface MessageExtra
public Object[] messageThreadReferences() throws MessagingException
A list of the above messageid objects that this message has references
to.
- Implements:
- messageThreadReferences in interface MessageExtra
protected void loadFlags()
public boolean isRead()
- Implements:
- isRead in interface MessageExtra
public void setIsRead(boolean value)
- Implements:
- setIsRead in interface MessageExtra
public boolean isReplied()
- Implements:
- isReplied in interface MessageExtra
public void setReplied(boolean value)
- Implements:
- setReplied in interface MessageExtra
public boolean isForwarded()
- Implements:
- isForwarded in interface MessageExtra
public void setForwarded(boolean value)
- Implements:
- setForwarded in interface MessageExtra
public boolean isFlagged()
- Implements:
- isFlagged in interface MessageExtra
public void setFlagged(boolean value)
- Implements:
- setFlagged in interface MessageExtra
public boolean isDeleted() throws MessagingException
- Implements:
- isDeleted in interface MessageExtra
public void setDeleted(boolean value)
- Implements:
- setDeleted in interface MessageExtra
public boolean isRecent() throws MessagingException
public void setRecent(boolean value)
protected String getStateValue() throws MessagingException
public String getUidl() throws MessagingException
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
|