Package org.apache.pdfbox.cos
Class UnmodifiableCOSDictionary
java.lang.Object
org.apache.pdfbox.cos.COSBase
org.apache.pdfbox.cos.COSDictionary
org.apache.pdfbox.cos.UnmodifiableCOSDictionary
- All Implemented Interfaces:
COSUpdateInfo,COSObjectable
An unmodifiable COSDictionary.
-
Field Summary
Fields inherited from class org.apache.pdfbox.cos.COSDictionary
items -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetNeedToBeUpdated(boolean flag) Set the update state of the dictionary for the COSWriter.Methods inherited from class org.apache.pdfbox.cos.COSDictionary
accept, addAll, asUnmodifiableDictionary, clear, containsKey, containsKey, containsValue, entrySet, forEach, getBoolean, getBoolean, getBoolean, getCOSArray, getCOSDictionary, getCOSDictionary, getCOSName, getCOSName, getCOSObject, getCOSStream, getDate, getDate, getDate, getDate, getDictionaryObject, getDictionaryObject, getDictionaryObject, getEmbeddedDate, getEmbeddedDate, getEmbeddedInt, getEmbeddedInt, getEmbeddedString, getEmbeddedString, getFlag, getFloat, getFloat, getFloat, getFloat, getIndirectObjectKeys, getIndirectObjectKeys, getInt, getInt, getInt, getInt, getInt, getInt, getItem, getItem, getItem, getKeyForValue, getLong, getLong, getLong, getLong, getNameAsString, getNameAsString, getNameAsString, getNameAsString, getObjectFromPath, getString, getString, getString, getString, getUpdateState, getValues, keySet, removeItem, resetImportedObjectKeys, resetObjectKeys, setBoolean, setBoolean, setDate, setDate, setEmbeddedDate, setEmbeddedInt, setEmbeddedString, setFlag, setFloat, setFloat, setInt, setInt, setItem, setItem, setItem, setItem, setLong, setLong, setName, setName, setString, setString, size, toStringMethods inherited from class org.apache.pdfbox.cos.COSBase
getCOSObject, getKey, isDirect, setDirect, setKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pdfbox.pdmodel.common.COSObjectable
getCOSObjectMethods inherited from interface org.apache.pdfbox.cos.COSUpdateInfo
isNeedToBeUpdated, toIncrement
-
Constructor Details
-
UnmodifiableCOSDictionary
UnmodifiableCOSDictionary(COSDictionary dict)
-
-
Method Details
-
setNeedToBeUpdated
public void setNeedToBeUpdated(boolean flag) Set the update state of the dictionary for the COSWriter. This indicates whether an object is to be written when there is an incremental save.- Parameters:
flag- the update state.
-