java.io.Serializablepublic class PdfEFStream extends PdfStream
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGESARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, typeBEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, streamBytes, writer| Constructor | Description |
|---|---|
PdfEFStream(byte[] fileStore) |
Creates a Stream object using a byte array
|
PdfEFStream(java.io.InputStream in,
PdfWriter writer) |
Creates a Stream object using an InputStream and a PdfWriter object
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
toPdf(PdfWriter writer,
java.io.OutputStream os) |
Writes the PDF representation of this
PdfDictionary as an
array of byte to the given OutputStream. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckType, clear, contains, 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, typeflateCompress, flateCompress, getRawLength, superToPdf, toString, writeContent, writeLengthpublic PdfEFStream(java.io.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, java.io.OutputStream os) throws java.io.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.java.io.IOExceptionPdfDictionary.toPdf(com.itextpdf.text.pdf.PdfWriter, java.io.OutputStream)Copyright © 1998–2018. All rights reserved.