Class DataElementHash
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.DataElementHash
- All Implemented Interfaces:
IFSSHTTPBSerializable
Specifies an data element hash stream object
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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 ListMethods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
-
Field Details
-
dataElementHashScheme
-
dataElementHashData
-
-
Constructor Details
-
DataElementHash
public DataElementHash()Initializes a new instance of the DataElementHash class.
-
-
Method Details
-
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
Used to convert the element into a byte List- Specified by:
serializeItemsToByteList
in classStreamObject
- Parameters:
byteList
- A Byte list- Returns:
- The number of elements actually contained in the list
- Throws:
IOException
-