public class PDFStream extends RMObject
Constructor and Description |
---|
PDFStream(byte[] bytes,
java.util.Map aMap)
Creates a new stream from the byte array and map.
|
PDFStream(RMData data,
java.util.Map aMap)
Creates a new stream from the data and map.
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String aName) |
java.lang.Object |
clone()
Standard clone implementation.
|
static byte[] |
getBytesEncoded(PDFFile pdfFile,
byte[] bytes,
int offset,
int length)
Returns Flate encoded bytes from the given raw bytes.
|
RMData |
getData()
Returns the stream data.
|
java.util.Map |
getDictionary()
Returns the stream dictionary.
|
void |
writePDF(PDFFile pdfFile)
Writes a stream to a pdf buffer.
|
copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public PDFStream(byte[] bytes, java.util.Map aMap)
public PDFStream(RMData data, java.util.Map aMap)
public RMData getData()
public java.util.Map getDictionary()
public void addFilter(java.lang.String aName)
public static byte[] getBytesEncoded(PDFFile pdfFile, byte[] bytes, int offset, int length)
public java.lang.Object clone()
public void writePDF(PDFFile pdfFile)