gnu.inet.comsat
Class ComsatInfo

java.lang.Object
  extended by gnu.inet.comsat.ComsatInfo

public class ComsatInfo
extends java.lang.Object

A comsat notification message.


Field Summary
protected  java.lang.String body
          The first few lines of the message body.
protected  java.util.Map headers
          The message headers.
protected  java.lang.String mailbox
          The mailbox in which the new message appeared.
 
Constructor Summary
ComsatInfo()
           
 
Method Summary
 java.lang.String getBody()
           
 java.lang.String getHeader(java.lang.String key)
           
 java.util.Iterator getHeaderNames()
           
 java.lang.String getMailbox()
           
protected  void setBody(java.lang.String body)
           
protected  void setHeader(java.lang.String key, java.lang.String value)
           
protected  void setMailbox(java.lang.String mailbox)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mailbox

protected java.lang.String mailbox
The mailbox in which the new message appeared.


headers

protected java.util.Map headers
The message headers.


body

protected java.lang.String body
The first few lines of the message body.

Constructor Detail

ComsatInfo

public ComsatInfo()
Method Detail

getMailbox

public java.lang.String getMailbox()

setMailbox

protected void setMailbox(java.lang.String mailbox)

getHeader

public java.lang.String getHeader(java.lang.String key)

getHeaderNames

public java.util.Iterator getHeaderNames()

setHeader

protected void setHeader(java.lang.String key,
                         java.lang.String value)

getBody

public java.lang.String getBody()

setBody

protected void setBody(java.lang.String body)