Package com.reportmill.pdf
Class PDFStream
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.pdf.PDFStream
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 
 public class PDFStream extends RMObject This class represents a PDF stream object.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFilter(java.lang.String aName)java.lang.Objectclone()Standard clone implementation.static byte[]getBytesEncoded(PDFFile pdfFile, byte[] bytes, int offset, int length)Returns Flate encoded bytes from the given raw bytes.RMDatagetData()Returns the stream data.java.util.MapgetDictionary()Returns the stream dictionary.voidwritePDF(PDFFile pdfFile)Writes a stream to a pdf buffer.- 
Methods inherited from class com.reportmill.base.RMObjectcopy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Constructor Detail- 
PDFStreampublic PDFStream(byte[] bytes, java.util.Map aMap)Creates a new stream from the byte array and map.
 - 
PDFStreampublic PDFStream(RMData data, java.util.Map aMap) Creates a new stream from the data and map.
 
- 
 - 
Method Detail- 
getDatapublic RMData getData() Returns the stream data.
 - 
getDictionarypublic java.util.Map getDictionary() Returns the stream dictionary.
 - 
addFilterpublic void addFilter(java.lang.String aName) 
 - 
getBytesEncodedpublic static byte[] getBytesEncoded(PDFFile pdfFile, byte[] bytes, int offset, int length) Returns Flate encoded bytes from the given raw bytes.
 - 
clonepublic java.lang.Object clone() Standard clone implementation.
 - 
writePDFpublic void writePDF(PDFFile pdfFile) Writes a stream to a pdf buffer.
 
- 
 
-