public class CrossReferenceStream extends CrossReferenceObject
startxref, trailerDictionary
Constructor and Description |
---|
CrossReferenceStream(PDFDocument document,
int objectNumber,
TrailerDictionary trailerDictionary,
long startxref,
java.util.List<java.lang.Long> uncompressedObjectReferences,
java.util.List<CompressedObjectReference> compressedObjectReferences) |
Modifier and Type | Method and Description |
---|---|
void |
output(java.io.OutputStream stream)
Writes the cross reference data to a PDF stream
|
public CrossReferenceStream(PDFDocument document, int objectNumber, TrailerDictionary trailerDictionary, long startxref, java.util.List<java.lang.Long> uncompressedObjectReferences, java.util.List<CompressedObjectReference> compressedObjectReferences)
public void output(java.io.OutputStream stream) throws java.io.IOException
output
in class CrossReferenceObject
stream
- the stream to write the cross reference tojava.io.IOException
- if an I/O exception occurs while writing the dataCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.