public class NSFCompositeDataItem extends NSFItem
Constructor and Description |
---|
NSFCompositeDataItem(NSFNote parent,
String name,
BLOCKID itemBlockId,
ValueType dataType,
BLOCKID valueBlockId,
int valueLen) |
Modifier and Type | Method and Description |
---|---|
void |
eachRecord(ActionRoutinePtr callback) |
List<NSFFileAttachment> |
getAttachments() |
byte[] |
getFileResourceData()
Returns the file data for a
CDFILEHEADER +CDFILESEGMENT -type design element. |
long |
getFileResourceSize()
Returns the file size from the
CDFILEHEADER record in a file resource design element. |
Object[] |
getValue()
The Composite Data implementation defers to converting the item to text and returning that,
|
addFlag, doFree, getDupItemId, getFlags, getItemBlockId, getName, getParent, getSeqByte, getType, getValue, getValueBlockId, getValueLen, isRefValid, removeFlag, setFlags, toString
_checkRefValidity, addChild, addChildStruct, debugPrintChildHierarchy, finalize, free, free, free, getAPI, getChildObjectCount, getChildObjectCount, getChildStructCount, isFreed, isTraceCreation, removeChild, removeChildStruct, removeFromParent, retain, setNeedsFree, setTraceCreation
public List<NSFFileAttachment> getAttachments() throws DominoException
DominoException
public void eachRecord(ActionRoutinePtr callback) throws DominoException
DominoException
public long getFileResourceSize() throws DominoException
CDFILEHEADER
record in a file resource design element.
This will only work with those types of elements and will not return e.g. file attachment sizes.
CDFILEHEADER
DominoException
public byte[] getFileResourceData() throws DominoException
CDFILEHEADER
+CDFILESEGMENT
-type design element.
This will only work with those types of elements and will not return e.g. file attachment data.
DominoException
public Object[] getValue() throws DominoException
getValue
in class NSFItem
DominoException
DominoNativeUtils#readItemValueArray(long, int, long)
Copyright © 2014–2018. All rights reserved.