public class COSTools extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
COSTools.Revision |
| Modifier and Type | Method and Description |
|---|---|
static COSObject |
createObject(Object javaObject)
Deprecated.
use
COSConverter |
static List<COSTools.Revision> |
getRevisions(COSDocument doc) |
static List<COSTools.Revision> |
getSubsequentRevisions(COSDocument doc,
STXRefSection base) |
static List<de.intarsys.tools.locator.ILocator> |
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.
|
@Deprecated public static COSObject createObject(Object javaObject)
COSConverterCOSObject.
Collections will be marshalled recursively.javaObject - the java object to be marshalledCOSObjectpublic static List<COSTools.Revision> getRevisions(COSDocument doc) throws IOException, COSLoadException
IOExceptionCOSLoadExceptionpublic static List<COSTools.Revision> getSubsequentRevisions(COSDocument doc, STXRefSection base) throws IOException, COSLoadException
IOExceptionCOSLoadExceptionpublic static List<de.intarsys.tools.locator.ILocator> 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.IOExceptionCOSLoadExceptionpublic static COSDictionary toDictionary(COSObject object)
object - The object to be cast to a COSDictionaryCOSDictionary or nullCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.