public class PdfOutputStream extends OutputStream<PdfOutputStream>
Modifier and Type | Field and Description |
---|---|
protected PdfEncryption |
crypto
Contains the business logic for cryptography.
|
protected PdfDocument |
document
Document associated with PdfOutputStream.
|
closeStream, currentPos, outputStream
Constructor and Description |
---|
PdfOutputStream(OutputStream outputStream)
Create a pdfOutputSteam writing to the passed OutputStream.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkEncryption(PdfStream pdfStream) |
protected boolean |
containsFlateFilter(PdfStream pdfStream) |
protected byte[] |
decodeFlateBytes(PdfStream stream, byte[] bytes) |
protected void |
updateCompressionFilter(PdfStream pdfStream) |
PdfOutputStream |
write(PdfObject pdfObject)
Write a PdfObject to the outputstream.
|
assignBytes, close, flush, getCurrentPos, getHighPrecision, getOutputStream, isCloseStream, reset, setCloseStream, setHighPrecision, write, write, write, writeByte, writeByte, writeBytes, writeBytes, writeDouble, writeDouble, writeFloat, writeFloat, writeFloats, writeInteger, writeLong, writeNewLine, writeSpace, writeString
protected PdfDocument document
protected PdfEncryption crypto
public PdfOutputStream(OutputStream outputStream)
outputStream
- Outputstream to write to.
public PdfOutputStream write(PdfObject pdfObject)
pdfObject
- PdfObject to write
protected boolean checkEncryption(PdfStream pdfStream)
protected boolean containsFlateFilter(PdfStream pdfStream)
protected void updateCompressionFilter(PdfStream pdfStream)
protected byte[] decodeFlateBytes(PdfStream stream, byte[] bytes)
Copyright © 1998–2023 iText Group NV. All rights reserved.