public class PSPageDeviceDictionary extends PSDictionary
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PSPageDeviceDictionary() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
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.
|
Object |
put(Object key,
Object value) |
void |
setFlushOnRetrieval(boolean flushOnRetrieval)
The contents of the dictionary are flushed when written
|
equals, hashCode, toString, valueOf
public Object put(Object key, Object value)
put
in interface Map
put
in class HashMap
key
- 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 clear()
clear
in interface Map
clear
in class HashMap
Map.clear()
public boolean isEmpty()
public void setFlushOnRetrieval(boolean flushOnRetrieval)
flushOnRetrieval
- boolean valuepublic String getContent()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.