Class PDTypedDictionaryWrapper
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.common.PDDictionaryWrapper
-
- com.tom_roush.pdfbox.pdmodel.common.PDTypedDictionaryWrapper
-
- All Implemented Interfaces:
COSObjectable
public class PDTypedDictionaryWrapper extends PDDictionaryWrapper
A wrapper for a COS dictionary including Type information.
-
-
Constructor Summary
Constructors Constructor Description PDTypedDictionaryWrapper(COSDictionary dictionary)Creates a new instance with a given COS dictionary.PDTypedDictionaryWrapper(String type)Creates a new instance with a given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Gets the type.-
Methods inherited from class com.tom_roush.pdfbox.pdmodel.common.PDDictionaryWrapper
equals, getCOSObject, hashCode
-
-
-
-
Constructor Detail
-
PDTypedDictionaryWrapper
public PDTypedDictionaryWrapper(String type)
Creates a new instance with a given type.- Parameters:
type- the type (Type)
-
PDTypedDictionaryWrapper
public PDTypedDictionaryWrapper(COSDictionary dictionary)
Creates a new instance with a given COS dictionary.- Parameters:
dictionary- the dictionary
-
-
Method Detail
-
getType
public String getType()
Gets the type.- Returns:
- the type
-
-