net.sf.fmj.filtergraph.model
Class FilterGraphModelIO

java.lang.Object
  extended by net.sf.fmj.filtergraph.model.FilterGraphModelIO

public class FilterGraphModelIO
extends java.lang.Object

Converts FilterGraphModel to/from XML.

Author:
Ken Larson

Method Summary
static void main(java.lang.String[] args)
           
static FilterGraphModel read(java.io.InputStream is)
           
static void write(FilterGraphModel g, java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public static void write(FilterGraphModel g,
                         java.io.OutputStream os)
                  throws java.io.IOException
Throws:
java.io.IOException

read

public static final FilterGraphModel read(java.io.InputStream is)
                                   throws java.io.IOException,
                                          javax.xml.parsers.ParserConfigurationException,
                                          org.xml.sax.SAXException,
                                          FilterGraphModelIOException
Throws:
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
FilterGraphModelIOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception