|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgraphlab.gui.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 void |
loadMatrix(Graph g,
java.io.File selectedFile)
|
void |
read(java.io.File file,
Graph graph)
Reads the file and enters the data in the graph. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 GraphReaderInterfacefile - the file
public java.lang.String getName()
GraphReaderInterface
getName in interface GraphReaderInterfacegetName in interface Extensionpublic java.lang.String getExtension()
GraphReaderInterface
getExtension in interface GraphReaderInterface
public void read(java.io.File file,
Graph graph)
throws GraphIOException
GraphReaderInterface
read in interface GraphReaderInterfaceGraphIOException - In the case of the reader error.public java.lang.String getDescription()
getDescription in interface Extension
public static void loadMatrix(Graph g,
java.io.File selectedFile)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||