|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraphlab.extensions.io.SaveSimpleGraph
public class SaveSimpleGraph
Constructor Summary | |
---|---|
SaveSimpleGraph()
|
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. |
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 SaveSimpleGraph()
Method Detail |
---|
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 |