public class PDFCFFStream extends AbstractPDFFontStream
Constructor and Description |
---|
PDFCFFStream(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
protected int |
getSizeHint()
Returns a value that hints at the size of the encoded stream.
|
protected void |
outputRawStreamData(java.io.OutputStream out)
Sends the raw stream data to the target OutputStream.
|
protected void |
populateStreamDict(java.lang.Object lengthEntry)
Populates the dictionary with all necessary entries for the stream.
|
void |
setData(byte[] data) |
getDefaultFilterName
encodeAndWriteStream, encodeStream, get, getChildren, getDictionary, getFilterList, multipleFiltersAllowed, output, outputStreamData, prepareImplicitFilters, put, registerChildren, setDocument, setupFilterList
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
protected int getSizeHint() throws java.io.IOException
AbstractPDFStream
getSizeHint
in class AbstractPDFStream
java.io.IOException
- in case of an I/O problemprotected void outputRawStreamData(java.io.OutputStream out) throws java.io.IOException
AbstractPDFStream
outputRawStreamData
in class AbstractPDFStream
out
- OutputStream to write tojava.io.IOException
- In case of an I/O problemprotected void populateStreamDict(java.lang.Object lengthEntry)
AbstractPDFStream
populateStreamDict
in class AbstractPDFStream
lengthEntry
- value for the /Length entrypublic void setData(byte[] data) throws java.io.IOException
java.io.IOException
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.