Class LeafNodeObject

    • Constructor Detail

      • LeafNodeObject

        public LeafNodeObject()
        Initializes a new instance of the LeafNodeObjectData class.
    • Method Detail

      • getContent

        public List<Byte> getContent()
                              throws org.apache.tika.exception.TikaException
        Get all the content which is represented by the intermediate node object.
        Specified by:
        getContent in class NodeObject
        Returns:
        Return the byte list of intermediate 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:
        A constant value
        Throws:
        org.apache.tika.exception.TikaException
        IOException