|
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.LoadMatrix
public class LoadMatrix
Constructor Summary | |
---|---|
LoadMatrix()
|
Method Summary | |
---|---|
boolean |
accepts(java.io.File file)
Reads the file and enters the data in the graph. |
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 GraphModel |
loadMatrix(java.io.File selectedFile)
|
GraphModel |
read(java.io.File file)
Reads the file and enters the data in the graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoadMatrix()
Method Detail |
---|
public boolean accepts(java.io.File file)
GraphReaderInterface
accepts
in interface GraphReaderInterface
file
- the file
public java.lang.String getName()
GraphReaderInterface
getName
in interface Extension
getName
in interface GraphReaderInterface
public java.lang.String getExtension()
GraphReaderInterface
getExtension
in interface GraphReaderInterface
public GraphModel read(java.io.File file) throws GraphIOException
GraphReaderInterface
read
in interface GraphReaderInterface
GraphIOException
- In the case of the reader error.public java.lang.String getDescription()
getDescription
in interface Extension
public static GraphModel loadMatrix(java.io.File selectedFile) throws java.io.IOException
java.io.IOException
|
GraphLab Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |