public class PSPageDeviceDictionary extends PSDictionary
| Modifier and Type | Field and Description |
|---|---|
private boolean |
flushOnRetrieval
Whether or not the contents of the dictionary are flushed on retrieval
|
private static long |
serialVersionUID |
private PSDictionary |
unRetrievedContentDictionary
Dictionary content that has not been output/written yet
|
| Constructor and Description |
|---|
PSPageDeviceDictionary() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.lang.String |
getContent()
Returns a dictionary string with containing all unwritten content note:
unnecessary writes are important as there is a device specific
initgraphics call by the underlying postscript interpreter on every
setpagedevice call which can result in blank pages etc.
|
boolean |
isEmpty()
Returns true if this map contains no key-value mappings.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map m) |
void |
setFlushOnRetrieval(boolean flushOnRetrieval)
The contents of the dictionary are flushed when written
|
equals, hashCode, toString, valueOfprivate static final long serialVersionUID
private boolean flushOnRetrieval
private PSDictionary unRetrievedContentDictionary
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mapput in class java.util.HashMapkey - key with which the specified value is to be associated.value - value to be associated with the specified key.Map.put(Object, Object)public void putAll(java.util.Map m)
putAll in interface java.util.MapputAll in class java.util.HashMappublic void clear()
clear in interface java.util.Mapclear in class java.util.HashMapMap.clear()public boolean isEmpty()
isEmpty in interface java.util.MapisEmpty in class java.util.HashMappublic void setFlushOnRetrieval(boolean flushOnRetrieval)
flushOnRetrieval - boolean valuepublic java.lang.String getContent()