|
intarsys PDF library API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.cos.COSTools
public class COSTools
Some tools to ease life with COS.
| Method Summary | |
|---|---|
static COSObject |
createObject(Object javaObject)
Try the best in marshalling java objects directly to COSObject. |
static List |
getVersions(COSDocument doc)
A collection of ILocator instances, representing the versions
created when writing incrementally. |
static COSDictionary |
toDictionary(COSObject object)
Tries to force a dictionary out of the COSObject. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static COSDictionary toDictionary(COSObject object)
object - The object to be cast to a COSDictionary
COSDictionary or nullpublic static COSObject createObject(Object javaObject)
COSObject.
Collections will be marshalled recursively.
javaObject - the java object to be marshalled
COSObject
public static List getVersions(COSDocument doc)
throws IOException,
COSLoadException
ILocator instances, representing the versions
created when writing incrementally.
doc - The original document.
ILocator instances, representing the
versions created when writing incrementally.
IOException
COSLoadException
|
intarsys PDF library API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||