|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectmascoptLib.io.graph.MGLWriter
The MGL Writer.
| Constructor Summary | |
MGLWriter(OutputStream os)
Creates a writer with a stream. |
|
MGLWriter(String file)
Creates a writer with a filename. |
|
| 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 MGLWriter(String file)
throws FileNotFoundException
file - the filename where to write.public MGLWriter(OutputStream os)
os - the stream where to write.| Method Detail |
public void add(Object object)
WriterInterface
add in interface WriterInterfaceobject - the object to write in the file.public void write()
WriterInterface
write in interface WriterInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||