public class DataElementPackage extends StreamObject
Modifier and Type | Field and Description |
---|---|
List<DataElement> |
dataElements |
byte |
reserved |
Constructor and Description |
---|
DataElementPackage()
Initializes a new instance of the DataElementHash class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
deserializeItemsFromByteArray(byte[] byteArray,
AtomicInteger currentIndex,
int lengthOfItems)
Used to de-serialize the element.
|
protected int |
serializeItemsToByteList(List<Byte> byteList)
Used to convert the element into a byte List
|
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
public List<DataElement> dataElements
public byte reserved
public DataElementPackage()
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–2022 The Apache Software Foundation. All rights reserved.