java.io.Serializable
, java.lang.Cloneable
, java.util.Map
public class PSPageDeviceDictionary extends PSDictionary
Constructor | Description |
---|---|
PSPageDeviceDictionary() |
Modifier and Type | Method | 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
|
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode, toString, valueOf
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
put
in class java.util.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 putAll(java.util.Map m)
putAll
in interface java.util.Map
putAll
in class java.util.HashMap
public void clear()
clear
in interface java.util.Map
clear
in class java.util.HashMap
Map.clear()
public boolean isEmpty()
isEmpty
in interface java.util.Map
isEmpty
in class java.util.HashMap
public void setFlushOnRetrieval(boolean flushOnRetrieval)
flushOnRetrieval
- boolean valuepublic java.lang.String getContent()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.