public class PdfEFStream extends PdfStream
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, streamBytes, writer| Constructor and Description |
|---|
PdfEFStream(byte[] fileStore)
Creates a Stream object using a byte array
|
PdfEFStream(InputStream in,
PdfWriter writer)
Creates a Stream object using an InputStream and a PdfWriter object
|
| Modifier and Type | Method and Description |
|---|---|
void |
toPdf(PdfWriter writer,
OutputStream os)
Writes the PDF representation of this
PdfDictionary as an
array of byte to the given OutputStream. |
flateCompress, flateCompress, getRawLength, superToPdf, toString, writeContent, writeLengthcontains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, sizecanBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, typepublic PdfEFStream(InputStream in, PdfWriter writer)
in - the InputStream that will be read to get the Stream objectwriter - the writer to which the stream will be addedpublic PdfEFStream(byte[] fileStore)
fileStore - the bytes for the streampublic void toPdf(PdfWriter writer, OutputStream os) throws IOException
PdfDictionaryPdfDictionary as an
array of byte to the given OutputStream.toPdf in class PdfStreamwriter - for backwards compatibilityos - the OutputStream to write the bytes to.IOExceptionPdfDictionary.toPdf(com.lowagie.text.pdf.PdfWriter, java.io.OutputStream)Copyright © 2019. All rights reserved.