com.partnersoft.io.formats.xml.cog
Class XMLCogLib

java.lang.Object
  extended by com.partnersoft.io.formats.xml.cog.XMLCogLib

public class XMLCogLib
extends java.lang.Object

Reads and writes cog data as xml.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

Constructor Summary
XMLCogLib()
           
 
Method Summary
static Cog readCogFromXML(java.io.File file)
           
static Cog readCogFromXML(java.io.Reader reader)
           
static void writeCogAsXML(java.io.File file, Cog cog)
           
static void writeCogAsXML(java.io.Writer writer, Cog cog)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLCogLib

public XMLCogLib()
Method Detail

writeCogAsXML

public static void writeCogAsXML(java.io.Writer writer,
                                 Cog cog)
                          throws java.io.IOException
Throws:
java.io.IOException

readCogFromXML

public static Cog readCogFromXML(java.io.Reader reader)
                          throws java.io.IOException
Throws:
java.io.IOException

writeCogAsXML

public static void writeCogAsXML(java.io.File file,
                                 Cog cog)
                          throws java.io.IOException
Throws:
java.io.IOException

readCogFromXML

public static Cog readCogFromXML(java.io.File file)
                          throws java.io.IOException
Throws:
java.io.IOException