public interface Content
Modifier and Type | Method and Description |
---|---|
void |
appendContent(ContentStream content)
Append content to an existing content stream.
|
ContentStream |
getContent(long offset,
long length)
retrieve the content of a document
|
boolean |
hasContent()
return true if this object has content or false if there is no content
attached.
|
void |
setContent(ContentStream content,
boolean mustPersist)
Assign content to a document.
|
boolean hasContent()
ContentStream getContent(long offset, long length)
void setContent(ContentStream content, boolean mustPersist)
content
- content to be assigned to the document.mustPersist
- persist document (set to false if content is set during
creation of a document)void appendContent(ContentStream content)
content
- content to be assigned to the document.Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.