mascoptLib.io.graph
Class MGXWriter

java.lang.Object
  extended bymascoptLib.io.graph.MGLWriter
      extended bymascoptLib.io.graph.MGXWriter
All Implemented Interfaces:
WriterInterface

public class MGXWriter
extends MGLWriter
implements WriterInterface

The MGX Writer.


Constructor Summary
MGXWriter(OutputStream os)
          Creates a writer with a stream.
MGXWriter(String file)
          Creates a writer with a filename.
 
Methods inherited from class mascoptLib.io.graph.MGLWriter
add, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mascoptLib.io.WriterInterface
add, write
 

Constructor Detail

MGXWriter

public MGXWriter(String file)
          throws FileNotFoundException
Creates a writer with a filename.

Parameters:
file - the filename where to write.

MGXWriter

public MGXWriter(OutputStream os)
Creates a writer with a stream.

Parameters:
os - the stream where to write.