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 Details

    • dataElementHashScheme

      public Compact64bitInt dataElementHashScheme
    • dataElementHashData

      public BinaryItem 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 org.apache.tika.exception.TikaException, IOException
      Used to de-serialize the element.
      Specified by:
      deserializeItemsFromByteArray in class StreamObject
      Parameters:
      byteArray - A Byte array
      currentIndex - Start position
      lengthOfItems - The length of the items
      Throws:
      org.apache.tika.exception.TikaException
      IOException
    • serializeItemsToByteList

      protected int serializeItemsToByteList(List<Byte> byteList) throws IOException
      Used to convert the element into a byte List
      Specified by:
      serializeItemsToByteList in class StreamObject
      Parameters:
      byteList - A Byte list
      Returns:
      The number of elements actually contained in the list
      Throws:
      IOException