|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgraphlab.gui.plugins.main.saveload.SaveLoadPluginMethods
public class SaveLoadPluginMethods
| Constructor Summary | |
|---|---|
SaveLoadPluginMethods(BlackBoard blackboard)
|
|
| Method Summary | |
|---|---|
void |
copySelectedAsMatrix(SelectData sd)
copies the Vertices and Edges as a graph to clipboard |
void |
loadGraphML(java.io.File f)
clears the current graph and load a graphml file saved in file to the current graph |
void |
loadGraphML(Graph g,
java.io.File f)
clears g and load a graphml file saved in file to the current graph |
void |
loadMatrix(java.io.File file)
loads the matrix saved in file to the current graph |
static java.lang.String |
matrix2String(Graph g)
|
void |
saveAsGraphML(java.io.File file)
saves the current graph as a GraphML file |
static void |
saveAsGraphML(Graph g,
java.io.File f)
saves g in f as a GraphML |
void |
saveAsImage(java.io.File file)
saves the current graph as a (jpeg) image |
static void |
saveAsImage(Graph g,
java.io.File file)
saves g in file as a (jpeg) image |
void |
saveAsMatrix(java.io.File file)
saves the current graph as matrix |
static void |
saveAsMatrix(Graph g,
java.io.File file)
saves g as matrix in file |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SaveLoadPluginMethods(BlackBoard blackboard)
| Method Detail |
|---|
public void saveAsMatrix(java.io.File file)
throws java.io.IOException
java.io.IOException
public static void saveAsMatrix(Graph g,
java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String matrix2String(Graph g)
public void saveAsImage(java.io.File file)
public static void saveAsImage(Graph g,
java.io.File file)
public void saveAsGraphML(java.io.File file)
throws java.io.IOException
java.io.IOException
public static void saveAsGraphML(Graph g,
java.io.File f)
throws java.io.IOException
java.io.IOException
public void loadMatrix(java.io.File file)
throws java.io.IOException
file -
java.io.IOException
public void loadGraphML(java.io.File f)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public void loadGraphML(Graph g,
java.io.File f)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXExceptionpublic void copySelectedAsMatrix(SelectData sd)
sd -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||