|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgraphlab.plugins.main.saveload.matrix.SaveMatrix
public class SaveMatrix
Constructor Summary | |
---|---|
SaveMatrix()
|
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 |
saveMatrix(GraphModel g,
java.io.File file)
saves g as matrix in file |
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 SaveMatrix()
Method Detail |
---|
public static void saveMatrix(GraphModel g, java.io.File file) throws java.io.IOException
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 |