|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.compatibility.V40CogXmlLib
public class V40CogXmlLib
Reads 4.0-style com.partnersoft.data.cog.Cog data from XML. It loads it as a post-4.0-style com.partnersoft.cog.Cog object.
| Method Summary | |
|---|---|
static void |
convertCogXml(java.io.File file)
Same as the two-file convert, except it reads in a file and replaces it with the converted result. |
static void |
convertCogXml(java.io.File v40,
java.io.File v41)
Converts a cog from the old format to the new, using the default CogSchema. |
static Cog |
readCogFromXML(java.io.File file)
Reads a v4.0 Cog into the new Cog structure. |
static Cog |
readCogFromXml(java.io.Reader reader)
Reads a v4.0 Cog into the new Cog structure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Cog readCogFromXml(java.io.Reader reader)
throws java.io.IOException
reader - Reader supplying the XML form of the old cog.
java.io.IOException
public static Cog readCogFromXML(java.io.File file)
throws java.io.IOException
file - File containing old XML cog data.
java.io.IOException
public static void convertCogXml(java.io.File v40,
java.io.File v41)
throws java.io.IOException
v40 - Input File containing old XML cog data.v41 - Output File which will receive new format data.
java.io.IOException
public static void convertCogXml(java.io.File file)
throws java.io.IOException
file - Input File containing old XML cog data; will be replaced with
new data.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||