public interface IDfContentCollection extends IDfCollection
DF_CLOSED_STATE, DF_INITIAL_STATE, DF_NO_MORE_ROWS_STATE, DF_READY_STATE
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize() |
long |
getBytePosition() |
int |
getContentSize()
Return the size of requested content.
|
java.io.ByteArrayInputStream |
getCurrentBuffer()
Returns the current content buffer.
|
int |
getCurrentLength() |
long |
getFullContentSize()
Return the size of requested content.
|
boolean |
isSeekable() |
void |
seek(int position,
int root)
Sets the starting position used by
IDfCollection.next() for reading the next buffer of a content collection. |
void |
seekEx(long position,
int root)
Sets the starting position used by
IDfCollection.next() for reading the next buffer of a content collection. |
close, getBytesBuffer, getState, getStateEx, getTypedObject, next
appendBoolean, appendDouble, appendId, appendInt, appendString, appendTime, appendValue, dump, enumAttrs, findAttrIndex, findBoolean, findDouble, findId, findInt, findString, findTime, findValue, getAllRepeatingStrings, getAttr, getAttrCount, getAttrDataType, getBoolean, getDouble, getId, getInt, getLong, getObjectId, getObjectSession, getOriginalSession, getRepeatingBoolean, getRepeatingDouble, getRepeatingId, getRepeatingInt, getRepeatingLong, getRepeatingString, getRepeatingTime, getRepeatingValue, getSession, getSessionManager, getString, getTime, getValue, getValueAt, getValueCount, hasAttr, insertBoolean, insertDouble, insertId, insertInt, insertString, insertTime, insertValue, isAttrRepeating, isNull, remove, removeAll, setBoolean, setDouble, setId, setInt, setNull, setRepeatingBoolean, setRepeatingDouble, setRepeatingId, setRepeatingInt, setRepeatingString, setRepeatingTime, setRepeatingValue, setSessionManager, setString, setTime, setValue, truncate
java.io.ByteArrayInputStream getCurrentBuffer() throws DfException
DfException
- if a server error occursvoid seek(int position, int root) throws DfException
IDfCollection.next()
for reading the next buffer of a content collection.
This call is only valid on a content collection.position
- defines the relative byte position where you want to start reading the content. The
relative position can be a positive or negative integer.root
- specifies the root location from which to begin the seek operation. The position argument
specifies a value relative to this starting root location. Valid values are: IDfSeekRoot.BEGINNING
,
IDfSeekRoot.CURRENT
, or IDfSeekRoot.END
.DfException
void seekEx(long position, int root) throws DfException
IDfCollection.next()
for reading the next buffer of a content collection.
This call is only valid on a content collection.position
- defines the relative byte position where you want to start reading the content. The
relative position can be a positive or negative integer.root
- specifies the root location from which to begin the seek operation. The position argument
specifies a value relative to this starting root location. Valid values are: IDfSeekRoot.BEGINNING
,
IDfSeekRoot.CURRENT
, or IDfSeekRoot.END
.DfException
int getBufferSize() throws DfException
DfException
int getCurrentLength() throws DfException
DfException
int getContentSize() throws DfException
DfException
long getFullContentSize() throws DfException
DfException
boolean isSeekable() throws DfException
DfException
long getBytePosition() throws DfException
DfException
Copyright 1994-2023 OpenText Corporation. All rights reserved.