public class COSDictionaryMap extends Object implements Map
Constructor and Description |
---|
COSDictionaryMap(Map actualsMap,
COSDictionary dicMap)
Constructor for this map.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
static COSDictionary |
convert(Map someMap)
This will take a map<java.lang.String,org.apache.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() |
Collection |
values() |
public COSDictionaryMap(Map actualsMap, COSDictionary dicMap)
actualsMap
- The map with standard java objects as values.dicMap
- The map with COSBase objects as values.public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Collection values()
public boolean equals(Object o)
public int hashCode()
public static COSDictionary convert(Map someMap)
someMap
- A map containing COSObjectablespublic static COSDictionaryMap convertBasicTypesToMap(COSDictionary map) throws IOException
map
- The COS mappings.IOException
- If there is an error during the conversion.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.