|
jPod PDF library | |||||||||
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.
Nested Class Summary | |
---|---|
static class |
COSTools.Revision
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static COSObject createObject(Object javaObject)
COSConverter
COSObject
.
Collections will be marshalled recursively.
javaObject
- the java object to be marshalled
COSObject
public static List<COSTools.Revision> getRevisions(COSDocument doc) throws IOException, COSLoadException
IOException
COSLoadException
public static List<COSTools.Revision> getSubsequentRevisions(COSDocument doc, STXRefSection base) throws IOException, COSLoadException
IOException
COSLoadException
public 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.
IOException
COSLoadException
public static COSDictionary toDictionary(COSObject object)
object
- The object to be cast to a COSDictionary
COSDictionary
or null
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |