public class BinaryDocumentContent extends AbstractDocumentContent
| Constructor and Description |
|---|
BinaryDocumentContent(String filename,
InputStream stream,
BigInteger length,
String mimeType) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get an input stream for the content.
|
BigInteger |
getLength()
Get the (byte) length of the content.
|
String |
toString() |
getContent, getContentStream, getFilename, getMimeTypepublic BinaryDocumentContent(String filename, InputStream stream, BigInteger length, String mimeType)
public InputStream getInputStream()
DocumentContentpublic BigInteger getLength()
AbstractDocumentContentgetLength in class AbstractDocumentContentpublic String toString()
toString in class AbstractDocumentContentCopyright © 2015. All rights reserved.