Class ASDictionary
java.lang.Object
com.adobe.internal.pdftoolkit.core.types.ASObject
com.adobe.internal.pdftoolkit.core.types.ASDictionary
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanReturns true if this key exists in this dictionary else false.getBoolean(ASName key) getDictionary(ASName key) booleanisEmpty()keySet()voidRemoves this key from the dictionary.Replaces the "name" key value with the object passed.intsize()toString()values()voidwrite(OutputByteStream outputByteStream) Writes the ASDictionary in to the given OutputStream in the format expected by the PDF Spec.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replaceAll
-
Constructor Details
-
ASDictionary
public ASDictionary()
-
-
Method Details
-
replace
Replaces the "name" key value with the object passed. -
exists
Returns true if this key exists in this dictionary else false. -
remove
Removes this key from the dictionary. -
toString
-
write
Writes the ASDictionary in to the given OutputStream in the format expected by the PDF Spec.- Specified by:
writein classASObject- Parameters:
outputByteStream- OutputByteStream to write to.- Throws:
PDFIOException
-
getNumber
-
getBoolean
-
getName
-
getString
-
getArray
-
getDictionary
-
size
public int size() -
clear
public void clear() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<ASName,ASObject>
-
containsValue
- Specified by:
containsValuein interfaceMap<ASName,ASObject>
-
values
-
putAll
-
entrySet
-
keySet
-
get
-
remove
-
put
-