| Constructor and Description |
|---|
FullByteContent(byte[] body,
List<MessageResult.Header> headers) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
caculateSize() |
InputStream |
getInputStream()
Return the content as
InputStream |
long |
size()
Size (in octets) of the content.
|
public FullByteContent(byte[] body,
List<MessageResult.Header> headers)
throws MailboxException
MailboxExceptionprotected long caculateSize()
throws MailboxException
MailboxExceptionpublic InputStream getInputStream() throws IOException
ContentInputStreamgetInputStream in interface ContentIOExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.