Package org.apache.pdfbox.cos
Interface COSUpdateInfo
-
- All Superinterfaces:
COSObjectable
- All Known Implementing Classes:
COSArray,COSDictionary,COSObject,COSStream,UnmodifiableCOSDictionary
public interface COSUpdateInfo extends COSObjectable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description COSUpdateStategetUpdateState()Returns the currentCOSUpdateStateof thisCOSUpdateInfo.default booleanisNeedToBeUpdated()Get the update state for the COSWriter.default voidsetNeedToBeUpdated(boolean flag)Set the update state of the dictionary for the COSWriter.default COSIncrementtoIncrement()Uses thisCOSUpdateInfoas the base object of a newCOSIncrement.-
Methods inherited from interface org.apache.pdfbox.pdmodel.common.COSObjectable
getCOSObject
-
-
-
-
Method Detail
-
isNeedToBeUpdated
default boolean isNeedToBeUpdated()
Get the update state for the COSWriter. This indicates whether an object is to be written when there is an incremental save.- Returns:
- the update state.
-
setNeedToBeUpdated
default 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.
-
toIncrement
default COSIncrement toIncrement()
Uses thisCOSUpdateInfoas the base object of a newCOSIncrement.- Returns:
- A
COSIncrementbased on thisCOSUpdateInfo. - See Also:
COSIncrement
-
getUpdateState
COSUpdateState getUpdateState()
Returns the currentCOSUpdateStateof thisCOSUpdateInfo.- Returns:
- The current
COSUpdateStateof thisCOSUpdateInfo. - See Also:
COSUpdateState
-
-