public class ContentBinaryImpl extends ContentImpl implements ContentBinary
ContentBinary
.BINARY_CONTENT, LOCREF_CONTENT, REFERENCE_CONTENT, XML_CONTENT
Constructor and Description |
---|
ContentBinaryImpl() |
Modifier and Type | Method and Description |
---|---|
InputStream |
getBinaryContent()
Get the binary content.
|
int |
getContentType()
Gets the type of content.
|
void |
setBinaryContent(InputStream binaryContent)
Sets the binary content as a stream.
|
getReference, setReference
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReference
public void setBinaryContent(InputStream binaryContent)
binaryContent
- The binary content as a stream.public InputStream getBinaryContent()
ContentBinary
getBinaryContent
in interface ContentBinary
InputStream
from which the binary content can
be read.public int getContentType()
getContentType
in interface Content
Copyright © 2016. All rights reserved.