|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umich.visualsoar.operatorwindow.TreeFileWriter
Constructor Summary | |
TreeFileWriter()
|
Method Summary | |
static void |
write(java.io.Writer treeWriter,
javax.swing.tree.DefaultTreeModel tree)
Traverses the tree and writes out the data in the VSA file format Format of vsa file is: nodeId parentId NodeType name filename nextId |
static void |
write5(java.io.Writer treeWriter,
javax.swing.tree.DefaultTreeModel tree)
Traverses the tree and writes out the data in the VSA file format Format of vsa file is: nodeId -- parentId -- NodeType -- name -- filename -- nextId The difference from the standard write method is this version 5 method writes each node with a unique id based on its path in the tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeFileWriter()
Method Detail |
public static void write(java.io.Writer treeWriter, javax.swing.tree.DefaultTreeModel tree) throws java.io.IOException
treeWriter
- the writer for the vsa filetree
- the operator hierarchy tree that is being read.
java.io.IOException
DefaultTreeModel
public static void write5(java.io.Writer treeWriter, javax.swing.tree.DefaultTreeModel tree) throws java.io.IOException
treeWriter
- the writer for the vsa filetree
- the operator hierarchy tree that is being read.
java.io.IOException
DefaultTreeModel
|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |