Class DataHashObject
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.DataHashObject
-
- All Implemented Interfaces:
IFSSHTTPBSerializable
public class DataHashObject extends StreamObject
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description DataHashObject()
Initializes a new instance of the DataHashObject class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
-
-
-
-
Field Detail
-
data
public 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. The value of this item depends on the file chunking algorithm used, as specified in section 2.4.
-
-
Method Detail
-
deserializeItemsFromByteArray
protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws TikaException, IOException
Used to de-serialize the element.- Specified by:
deserializeItemsFromByteArray
in classStreamObject
- Parameters:
byteArray
- A Byte arraycurrentIndex
- Start positionlengthOfItems
- The length of the items- Throws:
TikaException
IOException
-
serializeItemsToByteList
protected int serializeItemsToByteList(List<Byte> byteList) throws IOException
Used to convert the element into a byte List.- Specified by:
serializeItemsToByteList
in classStreamObject
- Parameters:
byteList
- A Byte list- Returns:
- The number of elements
- Throws:
IOException
-
-