⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
gnu.mail.providers.pop3

Class POP3Message

java.lang.Object
|
+--javax.mail.Message
   |
   +--javax.mail.internet.MimeMessage
      |
      +--gnu.mail.providers.ReadOnlyMessage
         |
         +--gnu.mail.providers.pop3.POP3Message


public final class POP3Message
extends ReadOnlyMessage

The message class implementing the POP3 mail protocol.
Authors:

Method Summary

Enumeration

getAllHeaderLines()

Causes the headers to be read.

Enumeration

getAllHeaders()

Causes the headers to be read.

InputStream

getContentStream()

Causes the content to be read in.

DataHandler

getDataHandler()

Causes the content to be read in.

String[]

getHeader(String name)

Causes the headers to be read.

String

getHeader(String name, String delimiter)

Causes the headers to be read.

Enumeration

getMatchingHeaderLines(String[] names)

Causes the headers to be read.

Enumeration

getMatchingHeaders(String[] names)

Causes the headers to be read.

Enumeration

getNonMatchingHeaderLines(String[] names)

Causes the headers to be read.

Enumeration

getNonMatchingHeaders(String[] names)

Causes the headers to be read.

int

getSize()

Gets the size of the message.

void

writeTo(OutputStream msgStream)

void

writeTo(OutputStream msgStream, String[] ignoreList)

Method Details

getAllHeaderLines

public Enumeration getAllHeaderLines()

Causes the headers to be read.


getAllHeaders

public Enumeration getAllHeaders()

Causes the headers to be read.


getContentStream

protected InputStream getContentStream()

Causes the content to be read in.


getDataHandler

public DataHandler getDataHandler()

Causes the content to be read in.


getHeader

public String[] getHeader(String name)

Causes the headers to be read.

Parameters:
name

getHeader

public String getHeader(String name, String delimiter)

Causes the headers to be read.

Parameters:
name
delimiter

getMatchingHeaderLines

public Enumeration getMatchingHeaderLines(String[] names)

Causes the headers to be read.

Parameters:
names

getMatchingHeaders

public Enumeration getMatchingHeaders(String[] names)

Causes the headers to be read.

Parameters:
names

getNonMatchingHeaderLines

public Enumeration getNonMatchingHeaderLines(String[] names)

Causes the headers to be read.

Parameters:
names

getNonMatchingHeaders

public Enumeration getNonMatchingHeaders(String[] names)

Causes the headers to be read.

Parameters:
names

getSize

public int getSize()

Gets the size of the message. Uses the cached size if it's available to us.


writeTo

public void writeTo(OutputStream msgStream)

Parameters:
msgStream

writeTo

public void writeTo(OutputStream msgStream, String[] ignoreList)

Parameters:
msgStream
ignoreList