com.sun.mail.imap.protocol
Class BODY

java.lang.Object
  extended by com.sun.mail.imap.protocol.BODY
All Implemented Interfaces:
Item

public class BODY
extends java.lang.Object
implements Item

The BODY fetch response item.


Field Summary
 ByteArray data
           
 int msgno
           
 int origin
           
 java.lang.String section
           
 
Constructor Summary
BODY(FetchResponse r)
          Constructor
 
Method Summary
 ByteArray getByteArray()
           
 java.io.ByteArrayInputStream getByteArrayInputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msgno

public int msgno

data

public ByteArray data

section

public java.lang.String section

origin

public int origin
Constructor Detail

BODY

public BODY(FetchResponse r)
     throws ParsingException
Constructor

Throws:
ParsingException
Method Detail

getByteArray

public ByteArray getByteArray()

getByteArrayInputStream

public java.io.ByteArrayInputStream getByteArrayInputStream()