Class CosCloneMgr
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.cos.CosCloneMgr
-
public class CosCloneMgr extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CosCloneMgr(CosDocument target)
Constructor associated with the target document.CosCloneMgr(CosDocument target, java.util.HashSet<ASName> streamsToClone)
Constructor associated with the target document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosObject
clone(CosObject cosObj)
Clones the specified object and returns cloned object.CosObject
removeMapping(CosObject cosObj)
CosObject
shallowClone(CosObject cosObj)
Clones the specified object and returns cloned object.
-
-
-
Constructor Detail
-
CosCloneMgr
public CosCloneMgr(CosDocument target)
Constructor associated with the target document.
-
CosCloneMgr
public CosCloneMgr(CosDocument target, java.util.HashSet<ASName> streamsToClone)
Constructor associated with the target document.
-
-
Method Detail
-
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
-
-