Interface ICOSParser

    • Method Detail

      • dereferenceCOSObject

        COSBase dereferenceCOSObject​(COSObject obj)
                              throws java.io.IOException
        Dereference the COSBase object which is referenced by the given COSObject.
        Parameters:
        obj - the COSObject which references the COSBase object to be dereferenced.
        Returns:
        the referenced object
        Throws:
        java.io.IOException - if something went wrong when dereferencing the COSBase object
      • createRandomAccessReadView

        RandomAccessReadView createRandomAccessReadView​(long startPosition,
                                                        long streamLength)
                                                 throws java.io.IOException
        Creates a random access read view starting at the given position with the given length.
        Parameters:
        startPosition - start position within the underlying random access read
        streamLength - stream length
        Returns:
        the random access read view
        Throws:
        java.io.IOException - if something went wrong when creating the view for the RandomAccessRead