Class BasicObject

    • Constructor Detail

      • BasicObject

        public BasicObject()
    • Method Detail

      • deserializeFromByteArray

        public int deserializeFromByteArray​(byte[] byteArray,
                                            int startIndex)
                                     throws TikaException,
                                            IOException
        Used to return the length of this element.
        Parameters:
        byteArray - The byte list.
        startIndex - The start position.
        Returns:
        The element length.
        Throws:
        TikaException
        IOException
      • doDeserializeFromByteArray

        protected abstract int doDeserializeFromByteArray​(byte[] byteArray,
                                                          int startIndex)
                                                   throws IOException,
                                                          TikaException
        Used to return the length of this element.
        Parameters:
        byteArray - The byte list.
        startIndex - The start position.
        Returns:
        The element length
        Throws:
        IOException
        TikaException