| echo2example.email.faux.FauxMessage
FauxMessage | public class FauxMessage extends Message (Code) | | The faux Message implementation.
This class provides only the minimal implementation of the
Message base class necessary for operation of
the web mail example.
|
Constructor Summary | |
public | FauxMessage(Address from, Date receivedDate, Address[] to, Address[] cc, Address[] bcc, String subject, String content) |
FauxMessage | public FauxMessage(Address from, Date receivedDate, Address[] to, Address[] cc, Address[] bcc, String subject, String content)(Code) | | Creates a new FauxMessage
Parameters: from - the sender Parameters: receivedDate - the date the message was received Parameters: to - an array of "to" recipients Parameters: cc - an array of "cc" recipients Parameters: bcc - an array of "bcc" recipients Parameters: subject - the subject of the message Parameters: content - the content of the message |
addFrom | public void addFrom(Address[] from) throws MessagingException(Code) | | See Also: javax.mail.Message.addFrom(javax.mail.Address[]) |
addHeader | public void addHeader(String arg0, String arg1) throws MessagingException(Code) | | See Also: javax.mail.Part.addHeader(java.lang.Stringjava.lang.String) |
addRecipients | public void addRecipients(RecipientType arg0, Address[] arg1) throws MessagingException(Code) | | See Also: javax.mail.Message.addRecipients(javax.mail.Message.RecipientTypejavax.mail.Address[]) |
getAllHeaders | public Enumeration getAllHeaders() throws MessagingException(Code) | | See Also: javax.mail.Part.getAllHeaders |
getContent | public Object getContent() throws IOException, MessagingException(Code) | | See Also: javax.mail.Part.getContent |
getContentType | public String getContentType() throws MessagingException(Code) | | See Also: javax.mail.Part.getContentType |
getDataHandler | public DataHandler getDataHandler() throws MessagingException(Code) | | See Also: javax.mail.Part.getDataHandler |
getDescription | public String getDescription() throws MessagingException(Code) | | See Also: javax.mail.Part.getDescription |
getDisposition | public String getDisposition() throws MessagingException(Code) | | See Also: javax.mail.Part.getDisposition |
getFileName | public String getFileName() throws MessagingException(Code) | | See Also: javax.mail.Part.getFileName |
getFlags | public Flags getFlags() throws MessagingException(Code) | | See Also: javax.mail.Message.getFlags |
getFrom | public Address[] getFrom() throws MessagingException(Code) | | See Also: javax.mail.Message.getFrom |
getHeader | public String[] getHeader(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.getHeader(java.lang.String) |
getLineCount | public int getLineCount() throws MessagingException(Code) | | See Also: javax.mail.Part.getLineCount |
getMatchingHeaders | public Enumeration getMatchingHeaders(String[] arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.getMatchingHeaders(java.lang.String[]) |
getNonMatchingHeaders | public Enumeration getNonMatchingHeaders(String[] arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.getNonMatchingHeaders(java.lang.String[]) |
getReceivedDate | public Date getReceivedDate() throws MessagingException(Code) | | See Also: javax.mail.Message.getReceivedDate |
getRecipients | public Address[] getRecipients(RecipientType recipientType) throws MessagingException(Code) | | See Also: javax.mail.Message.getRecipients(javax.mail.Message.RecipientType) |
getSentDate | public Date getSentDate() throws MessagingException(Code) | | See Also: javax.mail.Message.getSentDate |
getSize | public int getSize() throws MessagingException(Code) | | See Also: javax.mail.Part.getSize |
getSubject | public String getSubject() throws MessagingException(Code) | | See Also: javax.mail.Message.getSubject |
isMimeType | public boolean isMimeType(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.isMimeType(java.lang.String) |
removeHeader | public void removeHeader(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.removeHeader(java.lang.String) |
reply | public Message reply(boolean arg0) throws MessagingException(Code) | | See Also: javax.mail.Message.reply(boolean) |
saveChanges | public void saveChanges() throws MessagingException(Code) | | See Also: javax.mail.Message.saveChanges |
setContent | public void setContent(Multipart arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.setContent(javax.mail.Multipart) |
setContent | public void setContent(Object arg0, String arg1) throws MessagingException(Code) | | See Also: javax.mail.Part.setContent(java.lang.Objectjava.lang.String) |
setDataHandler | public void setDataHandler(DataHandler arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.setDataHandler(javax.activation.DataHandler) |
setDescription | public void setDescription(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.setDescription(java.lang.String) |
setDisposition | public void setDisposition(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.setDisposition(java.lang.String) |
setFileName | public void setFileName(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.setFileName(java.lang.String) |
setFlags | public void setFlags(Flags arg0, boolean arg1) throws MessagingException(Code) | | See Also: javax.mail.Message.setFlags(javax.mail.Flagsboolean) |
setFrom | public void setFrom() throws MessagingException(Code) | | See Also: javax.mail.Message.setFrom |
setFrom | public void setFrom(Address arg0) throws MessagingException(Code) | | See Also: javax.mail.Message.setFrom(javax.mail.Address) |
setHeader | public void setHeader(String arg0, String arg1) throws MessagingException(Code) | | See Also: javax.mail.Part.setHeader(java.lang.Stringjava.lang.String) |
setRecipients | public void setRecipients(RecipientType arg0, Address[] arg1) throws MessagingException(Code) | | See Also: javax.mail.Message.setRecipients(javax.mail.Message.RecipientTypejavax.mail.Address[]) |
setSentDate | public void setSentDate(Date arg0) throws MessagingException(Code) | | See Also: javax.mail.Message.setSentDate(java.util.Date) |
setSubject | public void setSubject(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Message.setSubject(java.lang.String) |
setText | public void setText(String arg0) throws MessagingException(Code) | | See Also: javax.mail.Part.setText(java.lang.String) |
writeTo | public void writeTo(OutputStream arg0) throws IOException, MessagingException(Code) | | See Also: javax.mail.Part.writeTo(java.io.OutputStream) |
|
|