public class CosCloneMgr extends Object
| Constructor and Description |
|---|
CosCloneMgr(CosDocument target)
Constructor associated with the target document.
|
CosCloneMgr(CosDocument target,
HashSet<ASName> streamsToClone)
Constructor associated with the target document.
|
| Modifier and Type | Method and 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.
|
public CosCloneMgr(CosDocument target)
public CosCloneMgr(CosDocument target, HashSet<ASName> streamsToClone)
public CosObject clone(CosObject cosObj) throws PDFCosParseException, PDFIOException, PDFSecurityException
public CosObject shallowClone(CosObject cosObj) throws PDFCosParseException, PDFIOException, PDFSecurityException
cosObj - CosObject which is to be clonedPDFCosParseExceptionPDFIOExceptionPDFSecurityExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved