public class CompressedObjectReference extends Object
Constructor and Description |
---|
CompressedObjectReference(PDFObjectNumber objectNumber,
PDFObjectNumber objectStreamNumber,
int index)
Creates a new reference.
|
Modifier and Type | Method and Description |
---|---|
PDFObjectNumber |
getObjectNumber() |
PDFObjectNumber |
getObjectStreamNumber() |
void |
output(DataOutputStream out)
Outputs this reference to the given stream, in the cross-reference stream format.
|
public CompressedObjectReference(PDFObjectNumber objectNumber, PDFObjectNumber objectStreamNumber, int index)
objectNumber
- the number of the compressed object being referencedobjectStreamNumber
- the number of the object stream in which the compressed
object is to be foundindex
- the index of the compressed object in the object streampublic void output(DataOutputStream out) throws IOException
out
- the stream to which to output the referenceIOException
public PDFObjectNumber getObjectNumber()
public PDFObjectNumber getObjectStreamNumber()
Copyright © 2025 Apache Software Foundation. All rights reserved.