public class StringDocumentContent extends AbstractDocumentContent
| Constructor and Description |
|---|
StringDocumentContent(String filename,
String content) |
| 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 InputStream getInputStream()
DocumentContentpublic BigInteger getLength()
AbstractDocumentContentgetLength in class AbstractDocumentContentpublic String toString()
toString in class AbstractDocumentContentCopyright © 2015. All rights reserved.