![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.storage.MessageReadOnlyjava.lang.Object | +----javax.mail.Message | +----grendel.storage.MessageReadOnly This implements those methods on Message which are commonly used in all of our read-only message implementations. It also provides an implementation for the header-reading routines, all of which assume that the subclass implements getHeadersObj, a method to get an InternetHeaders object for this message.
abstract class MessageReadOnly
extends javax.mail.Message
{
// Constructors 2
MessageReadOnly();
MessageReadOnly(Folder, int);
// Methods 38
public void addFrom(Address[]) throws MessagingException;
public void addHeader(String, String) throws MessagingException;
public void addRecipients(RecipientType, Address[]) throws MessagingException;
public Enumeration getAllHeaders();
public String getContentType();
public String getDescription();
public String getDisposition();
public String getFileName();
public Address[] getFrom() throws MessagingException;
public String[] getHeader(String) throws MessagingException;
protected abstract InternetHeaders getHeadersObj() throws MessagingException;
public InputStream getInputStream() throws MessagingException;
public InputStream getInputStreamWithHeaders() throws MessagingException;
public Enumeration getMatchingHeaders(String[]);
public Enumeration getNonMatchingHeaders(String[]);
protected String getOneHeader(String) throws MessagingException;
public Address[] getRecipients(RecipientType) throws MessagingException;
public Date getSentDate() throws MessagingException;
public long getSentDateAsLong();
public String getSubject() throws MessagingException;
public boolean isMimeType(String);
protected void readonly() throws MessagingException;
public void removeHeader(String) throws MessagingException;
public Message reply(boolean);
public void setContent(Object, String);
public void setContent(String) throws MessagingException;
public void setContent(Multipart);
public void setDataHandler(DataHandler);
public void setDescription(String) throws MessagingException;
public void setDisposition(String) throws MessagingException;
public void setFileName(String) throws MessagingException;
public void setFrom() throws MessagingException;
public void setFrom(Address) throws MessagingException;
public void setHeader(String, String) throws MessagingException;
public void setRecipients(RecipientType, Address[]) throws MessagingException;
public void setSentDate(Date) throws MessagingException;
public void setSubject(String) throws MessagingException;
public void setText(String) throws MessagingException;
}
Constructors MessageReadOnlyMessageReadOnly() MessageReadOnlyMessageReadOnly(Folder f, int num) Methods readonlyprotected void readonly() throws MessagingException addFrompublic void addFrom(Address[] addresses) throws MessagingException setSubjectpublic void setSubject(String s) throws MessagingException
setRecipientspublic void setRecipients(RecipientType type, Address[] addresses) throws MessagingException addRecipientspublic void addRecipients(RecipientType type, Address[] addresses) throws MessagingException setFrompublic void setFrom() throws MessagingException setFrompublic void setFrom(Address address) throws MessagingException setSentDatepublic void setSentDate(Date d) throws MessagingException
getContentTypepublic String getContentType()
getDispositionpublic String getDisposition()
getDescriptionpublic String getDescription()
getFileNamepublic String getFileName()
setDispositionpublic void setDisposition(String d) throws MessagingException
setDescriptionpublic void setDescription(String d) throws MessagingException
setFileNamepublic void setFileName(String f) throws MessagingException
setDataHandlerpublic void setDataHandler(DataHandler d)
setTextpublic void setText(String s) throws MessagingException setContentpublic void setContent(String s) throws MessagingException setContentpublic void setContent(Object o, String s)
setContentpublic void setContent(Multipart m)
addHeaderpublic void addHeader(String s1, String s2) throws MessagingException setHeaderpublic void setHeader(String s1, String s2) throws MessagingException removeHeaderpublic void removeHeader(String s) throws MessagingException
getHeadersObjprotected abstract InternetHeaders getHeadersObj() throws MessagingException
getHeaderpublic String[] getHeader(String name) throws MessagingException getOneHeaderprotected String getOneHeader(String name) throws MessagingException getRecipientspublic Address[] getRecipients(RecipientType type) throws MessagingException getFrompublic Address[] getFrom() throws MessagingException getSentDatepublic Date getSentDate() throws MessagingException
getSentDateAsLongpublic long getSentDateAsLong() getSubjectpublic String getSubject() throws MessagingException
getAllHeaderspublic Enumeration getAllHeaders()
getMatchingHeaderspublic Enumeration getMatchingHeaders(String[] s)
getNonMatchingHeaderspublic Enumeration getNonMatchingHeaders(String[] s)
replypublic Message reply(boolean replyToAll) isMimeTypepublic boolean isMimeType(String mimeType)
getInputStreampublic InputStream getInputStream() throws MessagingException
getInputStreamWithHeaderspublic InputStream getInputStreamWithHeaders() throws MessagingException All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998. |
|