Constructor and Description |
---|
COSDictionaryMap(Map<K,V> 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<String,?> someMap)
This will take a map<java.lang.String,org.apache.pdfbox.pdmodel.COSObjectable>
and convert it into a COSDictionary.
|
static COSDictionaryMap<String,Object> |
convertBasicTypesToMap(COSDictionary map)
This will take a COS dictionary and convert it into COSDictionaryMap.
|
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> t) |
V |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
public COSDictionaryMap(Map<K,V> 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<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
public boolean equals(Object o)
public int hashCode()
public static COSDictionary convert(Map<String,?> someMap)
someMap
- A map containing COSObjectablespublic static COSDictionaryMap<String,Object> convertBasicTypesToMap(COSDictionary map) throws IOException
map
- The COS mappings.IOException
- If there is an error during the conversion.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.