|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.csail.sdg.alloy4viz.StaticThemeReaderWriter
public final class StaticThemeReaderWriter
This utility class contains methods to read and write VizState customizations.
Thread Safety: Can be called only by the AWT event thread.
| Method Summary | |
|---|---|
static void |
readAlloy(java.lang.String filename,
VizState theme)
Read the XML file and merge its settings into an existing VizState object. |
static void |
writeAlloy(java.lang.String filename,
VizState theme)
Write the VizState's customizations into a new file (which will be overwritten if it exists). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void readAlloy(java.lang.String filename,
VizState theme)
throws java.io.IOException
java.io.IOException
public static void writeAlloy(java.lang.String filename,
VizState theme)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||