gnu.mail.providers.imap
public final class IMAPMessage extends ReadOnlyMessage
Version: 1.0
| Field Summary | |
|---|---|
| protected boolean | headersComplete
If set, the current set of headers is complete.
|
| protected String | internalDate
If set, this contains the string value of the received date. |
| protected static DateFormat | internalDateFormat
The date format used to parse IMAP INTERNALDATE values. |
| protected long | uid
The UID associated with this message. |
| Method Summary | |
|---|---|
| Enumeration | getAllHeaderLines() |
| Enumeration | getAllHeaders() |
| Object | getContent() |
| protected InputStream | getContentStream()
Returns the raw content stream. |
| DataHandler | getDataHandler()
Returns a data handler for this message's content. |
| Flags | getFlags() |
| String[] | getHeader(String name)
Returns the specified header field. |
| String | getHeader(String name, String delimiter)
Returns the specified header field. |
| Enumeration | getMatchingHeaderLines(String[] names) |
| Enumeration | getMatchingHeaders(String[] names) |
| Enumeration | getNonMatchingHeaderLines(String[] names) |
| Enumeration | getNonMatchingHeaders(String[] names) |
| Date | getReceivedDate()
Returns the date on which this message was received. |
| boolean | isSet(Flags.Flag flag) |
| void | setFlags(Flags flag, boolean set)
Set the specified flags. |
| void | writeTo(OutputStream msgStream) |
| void | writeTo(OutputStream msgStream, String[] ignoreList) |