|
OOP Pop3Receiver Version 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bentofw.popreceiver.ReceivedMail
public final class ReceivedMail
You can access various parts of the received e-mail,
including the text body and the file attachment.
| Method Summary | |
|---|---|
java.lang.String[] |
getCcAddress()
Return the array of String representing the e-mail addresses of CC recipients. |
java.lang.String[] |
getCcName()
Return the array of String representing the names of CC recipients. |
java.lang.String |
getContentType(int index)
Returns the Content-Type for the specified file attachment. |
byte[] |
getFileBody(int index)
Returns the binary contents for the specified file attachment. |
int |
getFileCount()
The number of the file attachments in this e-mail. |
java.lang.String |
getFileName(int index)
Returns the file name for the specified file attachment. |
java.lang.String[] |
getFromAddress()
Return the array of String representing the e-mail addresses of senders. |
java.lang.String[] |
getFromName()
Return the array of String representing the names of senders. |
java.lang.String[] |
getReplyToAddress()
Return the array of String representing the e-mail addresses to which reply. |
java.lang.String[] |
getReplyToName()
Return the array of String representing the names of senders to which reply. |
java.util.Date |
getSentDate()
Return the instance of Date representing when the message was sent. |
java.lang.String |
getSubject()
Return the subject of the message. |
java.lang.String |
getText(int index)
Returns the String for the specified text contents. |
java.lang.String |
getTextCharset(int index)
Returns the charset for the specified text contents. |
java.lang.String |
getTextContentType(int index)
Returns the Content-Type for the specified text contents. |
int |
getTextCount()
The number of the text contents in this e-mail. |
java.lang.String[] |
getToAddress()
Return the array of String representing the e-mail addresses of recipients. |
java.lang.String[] |
getToName()
Return the array of String representing the names of recipients. |
void |
readExternal(java.io.ObjectInput oi)
The member of Externalizable interface. |
void |
writeExternal(java.io.ObjectOutput oo)
The member of Externalizable interface. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getSubject()
throws NotParsedYetException
NotParsedYetException
public java.util.Date getSentDate()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getToAddress()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getToName()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getCcAddress()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getCcName()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getFromAddress()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getFromName()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getReplyToAddress()
throws NotParsedYetException
NotParsedYetException
public java.lang.String[] getReplyToName()
throws NotParsedYetException
NotParsedYetException
public int getTextCount()
throws NotParsedYetException
NotParsedYetException
public java.lang.String getText(int index)
throws NotParsedYetException,
java.lang.IndexOutOfBoundsException
index - The index of the text contents in this e-mail,
starting 0.
NotParsedYetException
java.lang.IndexOutOfBoundsException
public java.lang.String getTextContentType(int index)
throws NotParsedYetException,
java.lang.IndexOutOfBoundsException
index - The index of the text contents in this e-mail,
starting 0.
NotParsedYetException
java.lang.IndexOutOfBoundsException
public java.lang.String getTextCharset(int index)
throws NotParsedYetException,
java.lang.IndexOutOfBoundsException
index - The index of the text contents in this e-mail,
starting 0.
NotParsedYetException
java.lang.IndexOutOfBoundsException
public int getFileCount()
throws NotParsedYetException
NotParsedYetException
public java.lang.String getContentType(int index)
throws NotParsedYetException,
java.lang.IndexOutOfBoundsException
index - The index of the file attachment in this e-mail,
starting 0.
NotParsedYetException
java.lang.IndexOutOfBoundsException
public java.lang.String getFileName(int index)
throws NotParsedYetException,
java.lang.IndexOutOfBoundsException
index - The index of the file attachment in this e-mail,
starting 0.
NotParsedYetException
java.lang.IndexOutOfBoundsException
public byte[] getFileBody(int index)
throws NotParsedYetException,
java.lang.IndexOutOfBoundsException
index - The index of the file attachment in this e-mail,
starting 0.
NotParsedYetException
java.lang.IndexOutOfBoundsException
public void writeExternal(java.io.ObjectOutput oo)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput oi)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
OOP Pop3Receiver Version 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.