Class IntermediateNodeObject

All Implemented Interfaces:
IFSSHTTPBSerializable

public class IntermediateNodeObject extends NodeObject
  • Constructor Details

    • IntermediateNodeObject

      public IntermediateNodeObject()
      Initializes a new instance of the IntermediateNodeObject class.
  • Method Details

    • getContent

      public List<Byte> getContent() throws org.apache.tika.exception.TikaException
      Get all the content which is represented by the root node object.
      Specified by:
      getContent in class NodeObject
      Returns:
      Return the byte list of root node object content.
      Throws:
      org.apache.tika.exception.TikaException
    • 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 org.apache.tika.exception.TikaException, IOException
      Used to convert the element into a byte List.
      Specified by:
      serializeItemsToByteList in class StreamObject
      Parameters:
      byteList - A Byte list
      Returns:
      The Byte list
      Throws:
      org.apache.tika.exception.TikaException
      IOException