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, tryGetCurrentpublic DataNodeObjectData dataNodeObjectData
public DataHashObject dataHash
public LeafNodeObject()
public List<Byte> getContent() throws TikaException
getContent in class NodeObjectTikaExceptionprotected void deserializeItemsFromByteArray(byte[] byteArray,
AtomicInteger currentIndex,
int lengthOfItems)
throws TikaException,
IOException
deserializeItemsFromByteArray in class StreamObjectbyteArray - A Byte arraycurrentIndex - Start positionlengthOfItems - The length of the itemsTikaExceptionIOExceptionprotected int serializeItemsToByteList(List<Byte> byteList) throws TikaException, IOException
serializeItemsToByteList in class StreamObjectbyteList - A Byte listTikaExceptionIOExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.