public class DataHashObject extends StreamObject
| Modifier and Type | Field and Description |
|---|---|
BinaryItem |
data
Gets or sets a binary item as specified in [MS-FSSHTTPB] section 2.2.1.3 that specifies a
value that is unique to the file data represented by this root node object.
|
| Constructor and Description |
|---|
DataHashObject()
Initializes a new instance of the DataHashObject class.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deserializeItemsFromByteArray(byte[] byteArray,
AtomicInteger currentIndex,
int lengthOfItems)
Used to de-serialize the element.
|
boolean |
equals(Object o) |
int |
hashCode() |
protected int |
serializeItemsToByteList(List<Byte> byteList)
Used to convert the element into a byte List.
|
String |
toString() |
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrentpublic BinaryItem data
public DataHashObject()
protected 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 IOException
serializeItemsToByteList in class StreamObjectbyteList - A Byte listIOExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.