|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraphlab.plugins.main.saveload.SaveLoadPluginMethods
public class SaveLoadPluginMethods
Constructor Summary | |
---|---|
SaveLoadPluginMethods(BlackBoard blackboard)
|
Method Summary | |
---|---|
void |
copySelectedAsMatrix(SubGraph sd)
copies the Vertices and Edges as a graph to clipboard |
static java.lang.String |
getExtension(java.io.File f)
Return the extension portion of the file's name . |
GraphModel |
loadGraphML(java.io.File f)
clears the current graph and load a graphml file saved in file to the current graph |
GraphModel |
loadMatrix(java.io.File file)
loads the matrix saved in file to the current graph |
java.lang.String |
matrix2String(GraphModel g)
|
void |
saveAsGraphML(java.io.File file)
|
void |
saveAsGraphML(GraphModel g,
java.io.File f)
|
void |
saveAsImage(java.io.File file,
java.lang.String format)
saves the current graph as a (format) image. |
void |
saveAsImage(GraphModel g,
java.io.File file,
java.lang.String extension)
saves g in file as a (jpeg) image |
void |
saveAsMatrix(java.io.File file)
saves the current graph as matrix |
void |
saveAsMatrix(GraphModel g,
java.io.File file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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
SaveMatrix.saveMatrix(graphlab.graph.graph.GraphModel,java.io.File)
public void saveAsMatrix(GraphModel g, java.io.File file) throws java.io.IOException
java.io.IOException
SaveMatrix.saveMatrix(graphlab.graph.graph.GraphModel,java.io.File)
public java.lang.String matrix2String(GraphModel g)
public void saveAsImage(java.io.File file, java.lang.String format)
public void saveAsImage(GraphModel g, java.io.File file, java.lang.String extension)
public void saveAsGraphML(java.io.File file) throws java.io.IOException
java.io.IOException
Save.saveGraphML(graphlab.graph.graph.GraphModel,java.io.File)
public void saveAsGraphML(GraphModel g, java.io.File f) throws java.io.IOException
java.io.IOException
Save.saveGraphML(graphlab.graph.graph.GraphModel,java.io.File)
public GraphModel loadMatrix(java.io.File file) throws java.io.IOException
file
-
java.io.IOException
public GraphModel 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 copySelectedAsMatrix(SubGraph sd)
sd
- public static java.lang.String getExtension(java.io.File f)
getExtension(java.io.File)
,
FileFilter.accept(java.io.File)
|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |