- java.lang.Object
-
- com.sun.mail.imap.protocol.RFC822DATA
-
-
Constructor Summary
Constructors Constructor Description RFC822DATA(FetchResponse r)
Constructor, header flag is false.RFC822DATA(FetchResponse r, boolean isHeader)
Constructor, specifying header flag.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteArray
getByteArray()
java.io.ByteArrayInputStream
getByteArrayInputStream()
boolean
isHeader()
-
-
-
Constructor Detail
-
RFC822DATA
public RFC822DATA(FetchResponse r) throws ParsingException
Constructor, header flag is false.- Parameters:
r
- the FetchResponse- Throws:
ParsingException
- for parsing failures
-
RFC822DATA
public RFC822DATA(FetchResponse r, boolean isHeader) throws ParsingException
Constructor, specifying header flag.- Parameters:
r
- the FetchResponseisHeader
- just header information?- Throws:
ParsingException
- for parsing failures
-
-
Method Detail
-
getByteArray
public ByteArray getByteArray()
-
getByteArrayInputStream
public java.io.ByteArrayInputStream getByteArrayInputStream()
-
isHeader
public boolean isHeader()
-
-