Package com.sun.mail.imap.protocol
Class BODY
- java.lang.Object
-
- com.sun.mail.imap.protocol.BODY
-
-
Constructor Summary
Constructors Constructor Description BODY(FetchResponse r)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteArray
getByteArray()
java.io.ByteArrayInputStream
getByteArrayInputStream()
java.lang.String
getSection()
boolean
isHeader()
-
-
-
Field Detail
-
name
static final char[] name
-
msgno
private final int msgno
-
data
private final ByteArray data
-
section
private final java.lang.String section
-
origin
private final int origin
-
isHeader
private final boolean isHeader
-
-
Constructor Detail
-
BODY
public BODY(FetchResponse r) throws ParsingException
Constructor- Parameters:
r
- the FetchResponse- Throws:
ParsingException
- for parsing failures
-
-
Method Detail
-
getByteArray
public ByteArray getByteArray()
-
getByteArrayInputStream
public java.io.ByteArrayInputStream getByteArrayInputStream()
-
isHeader
public boolean isHeader()
-
getSection
public java.lang.String getSection()
-
-