Java org.apache.pdfbox.cos COSDictionary fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.cos COSDictionary fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.cos COSDictionary.

The text is from its open source code.

Constructor

Method

Objectaccept(ICOSVisitor visitor)
visitor pattern double dispatch method.
COSDictionaryasUnmodifiableDictionary()
Returns an unmodifiable view of this dictionary.
booleancontainsKey(COSName name)
booleancontainsKey(String name)
booleancontainsValue(Object value)
Set>entrySet()
Returns the name-value entries in this dictionary.
COSNamegetCOSName(COSName key)
This is a convenience method that will get the dictionary object that is expected to be a name.
COSBasegetCOSObject()
Convert this standard java object to a COS object.
CalendargetDate(String key)
This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string.
CalendargetDate(COSName key)
This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string.
COSBasegetDictionaryObject(String key)
This will get an object from this dictionary.
COSBasegetDictionaryObject(COSName key)
This will get an object from this dictionary.
intgetInt(String key)
This is a convenience method that will get the dictionary object that is expected to be an int.
intgetInt(COSName key)
This is a convenience method that will get the dictionary object that is expected to be an int.
intgetInt(String key, int defaultValue)
This is a convenience method that will get the dictionary object that is expected to be an integer.
intgetInt(COSName key, int defaultValue)
This is a convenience method that will get the dictionary object that is expected to be an integer.
intgetInt(COSName firstKey, COSName secondKey)
This is a convenience method that will get the dictionary object that is expected to be an integer.
COSBasegetItem(COSName key)
This will do a lookup into the dictionary.
COSBasegetItem(String key)
This will do a lookup into the dictionary.
COSNamegetKeyForValue(Object value)
Search in the map for the value that matches the parameter and return the first key that maps to that value.
longgetLong(String key)
This is a convenience method that will get the dictionary object that is expected to be an long.
longgetLong(COSName key)
This is a convenience method that will get the dictionary object that is expected to be an long.
StringgetNameAsString(String key)
This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string.
StringgetNameAsString(COSName key)
This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string.
COSBasegetObjectFromPath(String objPath)
Nice method, gives you every object you want Arrays works properly too.
StringgetString(String key)
This is a convenience method that will get the dictionary object that is expected to be a string.
StringgetString(COSName key)
This is a convenience method that will get the dictionary object that is expected to be a string.
CollectiongetValues()
This will get all of the values for the dictionary.
booleanisDirect()
If the state is set true, the dictionary will be written direct into the called object.
SetkeySet()
Returns the names of the entries in this dictionary.
voidremoveItem(COSName key)
This will remove an item for the dictionary.
voidsetBoolean(String key, boolean value)
This will set an item in the dictionary.
voidsetBoolean(COSName key, boolean value)
This will set an item in the dictionary.
voidsetDirect(boolean direct)
Set the state true, if the dictionary should be written as a direct object and not indirect.
voidsetInt(String key, int value)
This is a convenience method that will convert the value to a COSInteger object.
voidsetInt(COSName key, int value)
This is a convenience method that will convert the value to a COSInteger object.
voidsetItem(COSName key, COSBase value)
This will set an item in the dictionary.
voidsetItem(COSName key, COSObjectable value)
This will set an item in the dictionary.
voidsetItem(String key, COSObjectable value)
This will set an item in the dictionary.
voidsetItem(String key, COSBase value)
This will set an item in the dictionary.
voidsetLong(String key, long value)
This is a convenience method that will convert the value to a COSInteger object.
voidsetLong(COSName key, long value)
This is a convenience method that will convert the value to a COSInteger object.
voidsetName(String key, String value)
This is a convenience method that will convert the value to a COSName object.
voidsetName(COSName key, String value)
This is a convenience method that will convert the value to a COSName object.
voidsetNeedToBeUpdated(boolean flag)
voidsetString(String key, String value)
This is a convenience method that will convert the value to a COSString object.
voidsetString(COSName key, String value)
This is a convenience method that will convert the value to a COSString object.
intsize()
This will return the number of elements in this dictionary.
StringtoString()