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
public class DataElementHash extends StreamObject
Specifies an data element hash stream object
-
-
Field Summary
Fields Modifier and Type Field Description BinaryItemdataElementHashDataCompact64bitIntdataElementHashScheme
-
Constructor Summary
Constructors Constructor Description DataElementHash()Initializes a new instance of the DataElementHash class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems)Used to de-serialize the element.protected intserializeItemsToByteList(List<Byte> byteList)Used to convert the element into a byte List-
Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
-
-
-
-
Field Detail
-
dataElementHashScheme
public Compact64bitInt dataElementHashScheme
-
dataElementHashData
public BinaryItem dataElementHashData
-
-
Method Detail
-
deserializeItemsFromByteArray
protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws TikaException, IOExceptionUsed to de-serialize the element.- Specified by:
deserializeItemsFromByteArrayin classStreamObject- Parameters:
byteArray- A Byte arraycurrentIndex- Start positionlengthOfItems- The length of the items- Throws:
TikaExceptionIOException
-
serializeItemsToByteList
protected int serializeItemsToByteList(List<Byte> byteList) throws IOException
Used to convert the element into a byte List- Specified by:
serializeItemsToByteListin classStreamObject- Parameters:
byteList- A Byte list- Returns:
- The number of elements actually contained in the list
- Throws:
IOException
-
-