Class CosCloneMgr
java.lang.Object
com.adobe.internal.pdftoolkit.core.cos.CosCloneMgr
-
Constructor Summary
ConstructorsConstructorDescriptionCosCloneMgr
(CosDocument target) Constructor associated with the target document.CosCloneMgr
(CosDocument target, HashSet<ASName> streamsToClone) Constructor associated with the target document. -
Method Summary
Modifier and TypeMethodDescriptionClones the specified object and returns cloned object.removeMapping
(CosObject cosObj) shallowClone
(CosObject cosObj) Clones the specified object and returns cloned object.
-
Constructor Details
-
CosCloneMgr
Constructor associated with the target document. -
CosCloneMgr
Constructor associated with the target document.
-
-
Method Details
-
clone
public CosObject clone(CosObject cosObj) throws PDFCosParseException, PDFIOException, PDFSecurityException Clones the specified object and returns cloned object. -
shallowClone
public CosObject shallowClone(CosObject cosObj) throws PDFCosParseException, PDFIOException, PDFSecurityException Clones the specified object and returns cloned object. If this is a stream then it doesn't perform deep copying.- Parameters:
cosObj
- CosObject which is to be cloned- Throws:
PDFCosParseException
PDFIOException
PDFSecurityException
-
removeMapping
-