| Modifier and Type | Method and Description |
|---|---|
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.
|
public static Cog readCogFromXml(java.io.Reader reader) throws java.io.IOException
reader - Reader supplying the XML form of the old cog.java.io.IOExceptionpublic static Cog readCogFromXML(java.io.File file) throws java.io.IOException
file - File containing old XML cog data.java.io.IOExceptionpublic 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.IOExceptionpublic 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