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, tryGetCurrentpublic List<DataElement> dataElements
public byte reserved
public DataElementPackage()
protected void deserializeItemsFromByteArray(byte[] byteArray,
AtomicInteger currentIndex,
int lengthOfItems)
throws org.apache.tika.exception.TikaException,
IOException
deserializeItemsFromByteArray in class StreamObjectbyteArray - A Byte arraycurrentIndex - Start positionlengthOfItems - The length of the itemsorg.apache.tika.exception.TikaExceptionIOExceptionprotected int serializeItemsToByteList(List<Byte> byteList) throws org.apache.tika.exception.TikaException, IOException
serializeItemsToByteList in class StreamObjectbyteList - A Byte listorg.apache.tika.exception.TikaExceptionIOExceptionCopyright © 2007–2024 The Apache Software Foundation. All rights reserved.