|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraphlab.plugins.main.saveload.Save
public class Save
Saves a graph file to GraphML file format
Constructor Summary | |
---|---|
Save()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
java.lang.String |
getExtension()
Retrieves the file extension for the file type. |
java.lang.String |
getName()
Retrieves the name of the file type. |
static void |
saveGraphML(GraphModel g,
java.io.File file)
saves g in file as a GraphML |
void |
write(java.io.File file,
GraphModel graph)
Writes the graph to the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Save()
Method Detail |
---|
public static void saveGraphML(GraphModel g, java.io.File file) throws java.io.IOException
g
- file
-
java.io.IOException
public java.lang.String getName()
GraphWriterInterface
getName
in interface Extension
getName
in interface GraphWriterInterface
public java.lang.String getExtension()
GraphWriterInterface
getExtension
in interface GraphWriterInterface
public void write(java.io.File file, GraphModel graph) throws GraphIOException
GraphWriterInterface
write
in interface GraphWriterInterface
file
- the filegraph
- the graph
GraphIOException
- In the case of the writer error.public java.lang.String getDescription()
getDescription
in interface Extension
|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |