|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjavax.mail.Message
javax.mail.internet.MimeMessage
gnu.mail.providers.ReadOnlyMessage
gnu.mail.providers.pop3.POP3Message
The message class implementing the POP3 mail protocol.
| Nested Class Summary |
|---|
| Nested classes inherited from class javax.mail.internet.MimeMessage |
|---|
MimeMessage.RecipientType |
| Field Summary |
|---|
| Fields inherited from class javax.mail.internet.MimeMessage |
|---|
content, contentStream, dh, flags, headers, modified, saved |
| Fields inherited from class javax.mail.Message |
|---|
expunged, folder, msgnum, session |
| Fields inherited from interface javax.mail.Part |
|---|
ATTACHMENT, INLINE |
| Method Summary | |
|---|---|
java.util.Enumeration |
getAllHeaderLines()
Causes the headers to be read. |
java.util.Enumeration |
getAllHeaders()
Causes the headers to be read. |
protected java.io.InputStream |
getContentStream()
Causes the content to be read in. |
javax.activation.DataHandler |
getDataHandler()
Causes the content to be read in. |
java.lang.String[] |
getHeader(java.lang.String name)
Causes the headers to be read. |
java.lang.String |
getHeader(java.lang.String name,
java.lang.String delimiter)
Causes the headers to be read. |
java.util.Enumeration |
getMatchingHeaderLines(java.lang.String[] names)
Causes the headers to be read. |
java.util.Enumeration |
getMatchingHeaders(java.lang.String[] names)
Causes the headers to be read. |
java.util.Enumeration |
getNonMatchingHeaderLines(java.lang.String[] names)
Causes the headers to be read. |
java.util.Enumeration |
getNonMatchingHeaders(java.lang.String[] names)
Causes the headers to be read. |
int |
getSize()
Gets the size of the message. |
java.lang.String |
getUID()
Returns the unique ID for this message. |
void |
setFlags(Flags flags,
boolean set)
Set flags (but only DELETED is supported) add or remove the message from the folder deleted message list. |
void |
writeTo(java.io.OutputStream msgStream)
Writes this message to the specified stream in RFC 822 format. |
void |
writeTo(java.io.OutputStream msgStream,
java.lang.String[] ignoreList)
Writes this message to the specified stream in RFC 822 format, without the specified headers. |
| Methods inherited from class gnu.mail.providers.ReadOnlyMessage |
|---|
addHeader, addHeaderLine, removeHeader, saveChanges, setContent, setContent, setHeader |
| Methods inherited from class javax.mail.internet.MimeMessage |
|---|
addFrom, addRecipients, addRecipients, createInternetHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentType, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getInputStream, getLineCount, getMessageID, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSubject, isMimeType, isSet, parse, reply, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFrom, setFrom, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, updateHeaders |
| Methods inherited from class javax.mail.Message |
|---|
addRecipient, getFolder, getMessageNumber, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public javax.activation.DataHandler getDataHandler()
throws MessagingException
getDataHandler in interface PartgetDataHandler in class MimeMessageMessagingException
protected java.io.InputStream getContentStream()
throws MessagingException
getContentStream in class MimeMessageMessagingExceptionMimeBodyPart.getContentStream()
public int getSize()
throws MessagingException
getSize in interface PartgetSize in class MimeMessageMessagingException
public java.lang.String[] getHeader(java.lang.String name)
throws MessagingException
getHeader in interface PartgetHeader in class MimeMessagename - the header name
MessagingException
public java.lang.String getHeader(java.lang.String name,
java.lang.String delimiter)
throws MessagingException
getHeader in interface MimePartgetHeader in class MimeMessagename - the header namedelimiter - the delimiter
MessagingException
public java.util.Enumeration getAllHeaders()
throws MessagingException
getAllHeaders in interface PartgetAllHeaders in class MimeMessageMessagingException
public java.util.Enumeration getAllHeaderLines()
throws MessagingException
getAllHeaderLines in interface MimePartgetAllHeaderLines in class MimeMessageMessagingException
public java.util.Enumeration getMatchingHeaders(java.lang.String[] names)
throws MessagingException
getMatchingHeaders in interface PartgetMatchingHeaders in class MimeMessageMessagingException
public java.util.Enumeration getMatchingHeaderLines(java.lang.String[] names)
throws MessagingException
getMatchingHeaderLines in interface MimePartgetMatchingHeaderLines in class MimeMessageMessagingException
public java.util.Enumeration getNonMatchingHeaders(java.lang.String[] names)
throws MessagingException
getNonMatchingHeaders in interface PartgetNonMatchingHeaders in class MimeMessageMessagingException
public java.util.Enumeration getNonMatchingHeaderLines(java.lang.String[] names)
throws MessagingException
getNonMatchingHeaderLines in interface MimePartgetNonMatchingHeaderLines in class MimeMessageMessagingException
public void writeTo(java.io.OutputStream msgStream)
throws java.io.IOException,
MessagingException
MimeMessage
writeTo in interface PartwriteTo in class MimeMessagejava.io.IOException - if an error occurs writing to the stream or in
the data handler layer
MessagingException
public void writeTo(java.io.OutputStream msgStream,
java.lang.String[] ignoreList)
throws java.io.IOException,
MessagingException
MimeMessage
writeTo in class MimeMessagejava.io.IOException - if an error occurs writing to the stream or in
the data handler layer
MessagingException
public java.lang.String getUID()
throws MessagingException
MessagingException
public void setFlags(Flags flags,
boolean set)
throws MessagingException
MessagingException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||