| Constructor and Description |
|---|
ByteContent(byte[] contents) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Return the content as
InputStream |
long |
size()
Size (in octets) of the content.
|
public long size()
Contentsize in interface ContentContent.size()public InputStream getInputStream() throws IOException
ContentInputStreamgetInputStream in interface ContentIOExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.