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, toStringaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListenerpublic 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 RMListenerListpublic void writePDF(RMPDFWriter aWriter)