public class PDFStream extends RMObject
Constructor and Description |
---|
PDFStream(byte[] theBytes,
java.util.Map aMap)
Creates a new stream from the byte array and map.
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String aName)
The dict for a stream may specify multiple filters.
|
PDFStream |
clone()
Standard clone implementation.
|
static byte[] |
getBytesEncoded(RMPDFWriter aWriter,
byte[] bytes,
int offset,
int length)
Returns Flate encoded bytes from the given raw bytes.
|
java.util.Map |
getDictionary()
Returns the stream dictionary.
|
void |
writePDF(RMPDFWriter aWriter)
Writes a stream to a pdf buffer.
|
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public PDFStream(byte[] theBytes, java.util.Map aMap)
public java.util.Map getDictionary()
public void addFilter(java.lang.String aName)
public static byte[] getBytesEncoded(RMPDFWriter aWriter, byte[] bytes, int offset, int length)
public PDFStream clone()
clone
in class RMListenerList
public void writePDF(RMPDFWriter aWriter)