public class LeafNodeObject extends NodeObject
Modifier and Type | Class and Description |
---|---|
static class |
LeafNodeObject.IntermediateNodeObjectBuilder
The class is used to build a intermediate node object.
|
Modifier and Type | Field and Description |
---|---|
DataHashObject |
dataHash |
DataNodeObjectData |
dataNodeObjectData |
dataSize, exGuid, intermediateNodeObjectList, signature
Constructor and Description |
---|
LeafNodeObject()
Initializes a new instance of the LeafNodeObjectData class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
deserializeItemsFromByteArray(byte[] byteArray,
AtomicInteger currentIndex,
int lengthOfItems)
Used to de-serialize the element.
|
List<Byte> |
getContent()
Get all the content which is represented by the intermediate node object.
|
protected int |
serializeItemsToByteList(List<Byte> byteList)
Used to convert the element into a byte List.
|
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
public DataNodeObjectData dataNodeObjectData
public DataHashObject dataHash
public LeafNodeObject()
public List<Byte> getContent() throws TikaException
getContent
in class NodeObject
TikaException
protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws TikaException, IOException
deserializeItemsFromByteArray
in class StreamObject
byteArray
- A Byte arraycurrentIndex
- Start positionlengthOfItems
- The length of the itemsTikaException
IOException
protected int serializeItemsToByteList(List<Byte> byteList) throws TikaException, IOException
serializeItemsToByteList
in class StreamObject
byteList
- A Byte listTikaException
IOException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.