|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Content
Method Summary | |
---|---|
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 do a document. |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |