|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.csail.sdg.alloy4viz.StaticInstanceReader
public final class StaticInstanceReader
This utility class parses an XML file into an AlloyInstance object.
Thread Safety: Can be called only by the AWT event thread.
| Method Summary | |
|---|---|
static AlloyInstance |
parseInstance(java.io.File file)
Parse the file into an AlloyInstance if possible. |
static AlloyInstance |
parseInstance(java.io.Reader reader)
Parse the file into an AlloyInstance if possible, then close the Reader afterwards. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AlloyInstance parseInstance(java.io.File file)
throws Err
Err
public static AlloyInstance parseInstance(java.io.Reader reader)
throws Err
Err
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||