|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.pdmodel.common.COSDictionaryMap
This is a Map that will automatically sync the contents to a COSDictionary.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
Map.Entry |
| Constructor Summary | |
COSDictionaryMap(Map actualsMap,
COSDictionary dicMap)
Constructor for this map. |
|
| Method Summary | |
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
static COSDictionary |
convert(Map someMap)
This will take a map<java.lang.String,org.pdfbox.pdmodel.COSObjectable> and convert it into a COSDictionary<COSName,COSBase>. |
static COSDictionaryMap |
convertBasicTypesToMap(COSDictionary map)
This will take a COS dictionary and convert it into COSDictionaryMap. |
Set |
entrySet()
|
boolean |
equals(Object o)
|
Object |
get(Object key)
|
int |
hashCode()
|
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map t)
|
Object |
remove(Object key)
|
int |
size()
|
String |
toString()
This will get a string representation of this map. |
Collection |
values()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public COSDictionaryMap(Map actualsMap,
COSDictionary dicMap)
actualsMap - The map with standard java objects as values.dicMap - The map with COSBase objects as values.| Method Detail |
public int size()
size in interface MapMap.size()public boolean isEmpty()
isEmpty in interface MapMap.isEmpty()public boolean containsKey(Object key)
containsKey in interface Mapjava.util.Map#containsKey()public boolean containsValue(Object value)
containsValue in interface Mapjava.util.Map#containsValue()public Object get(Object key)
get in interface Mapjava.util.Map#get()
public Object put(Object key,
Object value)
put in interface Mapjava.util.Map#put()public Object remove(Object key)
remove in interface Mapjava.util.Map#remove()public void putAll(Map t)
putAll in interface Mapjava.util.Map#putAll()public void clear()
clear in interface MapMap.clear()public Set keySet()
keySet in interface MapMap.keySet()public Collection values()
values in interface MapMap.values()public Set entrySet()
entrySet in interface MapMap.entrySet()public boolean equals(Object o)
equals in interface Mapjava.util.Map#equals()public String toString()
public int hashCode()
hashCode in interface MapMap.hashCode()public static COSDictionary convert(Map someMap)
someMap - A map containing COSObjectables
public static COSDictionaryMap convertBasicTypesToMap(COSDictionary map)
throws IOException
map - The COS mappings.
IOException - If there is an error during the conversion.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||