Top Description Fields Constructors Methods
com.sun.mail.imap.protocol

public Class RFC822DATA

extends Object
implements Item
Class Inheritance
All Implemented Interfaces
com.sun.mail.imap.protocol.Item
Imports
java.io.ByteArrayInputStream, com.sun.mail.iap.*, com.sun.mail.util.ASCIIUtility

The RFC822 response data item.
Authors
John Mani, Bill Shannon

Field Summary

Modifier and TypeField and Description
private final ByteArray
private final boolean
private final int
pack-priv static final char[]

Constructor Summary

AccessConstructor and Description
public
RFC822DATA(FetchResponse
the FetchResponse
r
)

Constructor, header flag is false.

public
RFC822DATA(FetchResponse
the FetchResponse
r
,
boolean
just header information?
isHeader
)

Constructor, specifying header flag.

Method Summary

Modifier and TypeMethod and Description
public ByteArray
public ByteArrayInputStream
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databack to summary
private final ByteArray data
isHeaderback to summary
private final boolean isHeader
msgnoback to summary
private final int msgno
nameback to summary
pack-priv static final char[] name

Constructor Detail

RFC822DATAback to summary
public RFC822DATA(FetchResponse r) throws ParsingException

Constructor, header flag is false.

Parameters
r:FetchResponse

the FetchResponse

Exceptions
ParsingException:
for parsing failures
RFC822DATAback to summary
public RFC822DATA(FetchResponse r, boolean isHeader) throws ParsingException

Constructor, specifying header flag.

Parameters
r:FetchResponse

the FetchResponse

isHeader:boolean

just header information?

Exceptions
ParsingException:
for parsing failures

Method Detail

getByteArrayback to summary
public ByteArray getByteArray()
getByteArrayInputStreamback to summary
public ByteArrayInputStream getByteArrayInputStream()
isHeaderback to summary
public boolean isHeader()