Modifier and Type | Field and Description |
---|---|
private ByteArray |
data |
private boolean |
isHeader |
private int |
msgno |
(package private) static char[] |
name |
Constructor and Description |
---|
RFC822DATA(FetchResponse r)
Constructor, header flag is false.
|
RFC822DATA(FetchResponse r,
boolean isHeader)
Constructor, specifying header flag.
|
Modifier and Type | Method and Description |
---|---|
ByteArray |
getByteArray() |
java.io.ByteArrayInputStream |
getByteArrayInputStream() |
boolean |
isHeader() |
static final char[] name
private final int msgno
private final ByteArray data
private final boolean isHeader
public RFC822DATA(FetchResponse r) throws ParsingException
r
- the FetchResponseParsingException
- for parsing failurespublic RFC822DATA(FetchResponse r, boolean isHeader) throws ParsingException
r
- the FetchResponseisHeader
- just header information?ParsingException
- for parsing failurespublic ByteArray getByteArray()
public java.io.ByteArrayInputStream getByteArrayInputStream()
public boolean isHeader()