|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.io.graph.MGLWriter | +--mascoptLib.io.graph.MGXWriter | +--mascoptDev.io.graph.MGXTubeWriter
XML Writer for tubes
This is a derivated class from MGXWriter which writes tubes (Smita tubes) in a file.
Constructor Summary | |
MGXTubeWriter(OutputStream os)
Constructs a writer on a stream. |
|
MGXTubeWriter(String file)
Constructs a writer on a file. |
Method Summary | |
void |
add(Object object)
Add an object to write in the file. |
void |
write()
Write the file with all objects added in the Writer. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MGXTubeWriter(String file) throws FileNotFoundException
file
- the name of the file.public MGXTubeWriter(OutputStream os)
os
- the stream.Method Detail |
public void add(Object object)
add
in interface WriterInterface
add
in class MGLWriter
public void write()
write
in interface WriterInterface
write
in class MGLWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |