PDFWritablepublic class PDFICCStream extends PDFStream
| Constructor | Description |
|---|---|
PDFICCStream() |
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.color.ICC_Profile |
getICCProfile() |
Returns the associated ICC profile.
|
int |
output(java.io.OutputStream stream) |
overload the base object method so we don't have to copy
byte arrays around so much
Overload the base object method so we don't have to copy
byte arrays around so much
Write the PDF represention of this object
|
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 |
setColorSpace(java.awt.color.ICC_Profile icc,
PDFDeviceColorSpace alt) |
Sets the color space to encode in PDF.
|
encodeAndWriteStream, encodeStream, get, getChildren, getDefaultFilterName, getDictionary, getFilterList, multipleFiltersAllowed, outputStreamData, prepareImplicitFilters, put, registerChildren, setDocument, setupFilterListclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFStringadd, add, getBufferOutputStream, getBufferWriter, getDataLength, getSizeHint, setDatapublic PDFICCStream()
PDFObject()public void setColorSpace(java.awt.color.ICC_Profile icc,
PDFDeviceColorSpace alt)
icc - the ICC profilealt - the PDF color spacepublic java.awt.color.ICC_Profile getICCProfile()
public int output(java.io.OutputStream stream)
throws java.io.IOException
protected void outputRawStreamData(java.io.OutputStream out)
throws java.io.IOException
outputRawStreamData in class PDFStreamout - OutputStream to write tojava.io.IOException - In case of an I/O problemprotected void populateStreamDict(java.lang.Object lengthEntry)
populateStreamDict in class AbstractPDFStreamlengthEntry - value for the /Length entryCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.