java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.ObjectDataBLOB
All Implemented Interfaces:
IFSSHTTPBSerializable

public class ObjectDataBLOB extends StreamObject
Specifies an object data BLOB stream object - the opaque binary data of an object, e.g. an embedded image or file. See MS-FSSHTTPB section 2.2.1.12.8.
  • Field Details

  • Constructor Details

    • ObjectDataBLOB

      public ObjectDataBLOB()
  • Method Details

    • getData

      public byte[] getData()
      Returns:
      the opaque binary data as a byte array, or null if not present.
    • deserializeItemsFromByteArray

      protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws TikaException, IOException
      Description copied from class: StreamObject
      De-serialize items from byte array.
      Specified by:
      deserializeItemsFromByteArray in class StreamObject
      Parameters:
      byteArray - The byte array which contains response message.
      currentIndex - The index special where to start.
      lengthOfItems - The length of items.
      Throws:
      TikaException
      IOException
    • serializeItemsToByteList

      protected int serializeItemsToByteList(List<Byte> byteList) throws IOException
      Description copied from class: StreamObject
      Serialize items to byte list.
      Specified by:
      serializeItemsToByteList in class StreamObject
      Parameters:
      byteList - The byte list need to serialized.
      Returns:
      The length in bytes for additional data if the current stream object has, otherwise return 0.
      Throws:
      IOException