Class CompressedObjectReference


  • public class CompressedObjectReference
    extends java.lang.Object
    A reference to an indirect object stored in an object stream. Contains the relevant information to add to a cross-reference stream.
    • Constructor Detail

      • CompressedObjectReference

        public CompressedObjectReference​(PDFObjectNumber objectNumber,
                                         PDFObjectNumber objectStreamNumber,
                                         int index)
        Creates a new reference.
        Parameters:
        objectNumber - the number of the compressed object being referenced
        objectStreamNumber - the number of the object stream in which the compressed object is to be found
        index - the index of the compressed object in the object stream
    • Method Detail

      • output

        public void output​(java.io.DataOutputStream out)
                    throws java.io.IOException
        Throws:
        java.io.IOException