Class CosUtils
- java.lang.Object
 - 
- com.adobe.internal.pdftoolkit.core.cos.CosUtils
 
 
- 
public final class CosUtils extends java.lang.Objectclass: CosUtils describtion: change history: 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CosDictionarycloneOrdinaryKeys(CosDictionary cloned, CosCloneMgr cloneHandler, CosDictionary dict, ASName[] specialKeys)This method clones all the keys of dictionary "dict" except that of present in specialKeys array passed here.static CosDictionarycloneOrdinaryKeys(CosDocument toDoc, CosCloneMgr cloneHandler, CosDictionary dict, ASName[] specialKeys)This method clones all the keys of dictionary "dict" except that of present in specialKeys array passed here.static <T extends CosObject>
intindexOfCosObjectRef(java.util.Collection<T> objectList, T obj)compares the CosObjects in a collection on the bases of reference only. 
 - 
 
- 
- 
Method Detail
- 
cloneOrdinaryKeys
public static CosDictionary cloneOrdinaryKeys(CosDictionary cloned, CosCloneMgr cloneHandler, CosDictionary dict, ASName[] specialKeys) throws PDFCosParseException, PDFIOException, PDFSecurityException
This method clones all the keys of dictionary "dict" except that of present in specialKeys array passed here. 
- 
cloneOrdinaryKeys
public static CosDictionary cloneOrdinaryKeys(CosDocument toDoc, CosCloneMgr cloneHandler, CosDictionary dict, ASName[] specialKeys) throws PDFCosParseException, PDFIOException, PDFSecurityException
This method clones all the keys of dictionary "dict" except that of present in specialKeys array passed here. 
- 
indexOfCosObjectRef
public static <T extends CosObject> int indexOfCosObjectRef(java.util.Collection<T> objectList, T obj)
compares the CosObjects in a collection on the bases of reference only. 
 - 
 
 -