public abstract class PDFPattern extends PDFStream
Constructor and Description |
---|
PDFPattern(int patternType) |
Modifier and Type | Method and Description |
---|---|
void |
write(OutputStream os)
Method to write the stream's information to the supplied output stream; called by the library when the PDF
docuemtn contents are being generated.
|
abstract void |
writeDictionary(OutputStream os)
This method must be defined by each subclass to write the dictionary data specific to the Pattern subclass.
|
getDeflate, getOutputStream, getStream, getStreamDataString, getWriter, setDeflate, writeStream
getGeneration, getName, getPDFDocument, getSerialID, getType, setName, toArray, toString, writeEnd, writeStart
public void write(OutputStream os) throws IOException
write
in class PDFStream
os
- OutputStream to send the object toIOException
- on errorpublic abstract void writeDictionary(OutputStream os) throws IOException
os
- IOException