|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.io.AbstractGraphReader
public abstract class AbstractGraphReader
Abstract base class implementation of the GraphReader interface. Provides
implementations for all but the
GraphReader.readGraph(InputStream) method.
| Constructor Summary | |
|---|---|
AbstractGraphReader()
|
|
| Method Summary | |
|---|---|
Graph |
readGraph(java.io.File f)
Read in a graph from the given File. |
abstract Graph |
readGraph(java.io.InputStream is)
Read in a graph from the given InputStream. |
Graph |
readGraph(java.lang.String location)
Read in a graph from the file at the given location. |
Graph |
readGraph(java.net.URL url)
Read in a graph from the given URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGraphReader()
| Method Detail |
|---|
public Graph readGraph(java.lang.String location)
throws DataIOException
GraphReaderIOLib.streamFromString(String) method,
allowing URLs, classpath references, and files on the file system
to be accessed.
readGraph in interface GraphReaderlocation - the location to read the table from
DataIOExceptionGraphReader.readGraph(java.lang.String)
public Graph readGraph(java.net.URL url)
throws DataIOException
GraphReader
readGraph in interface GraphReaderurl - the url to read the graph from
DataIOExceptionGraphReader.readGraph(java.net.URL)
public Graph readGraph(java.io.File f)
throws DataIOException
GraphReader
readGraph in interface GraphReaderf - the file to read the graph from
DataIOExceptionGraphReader.readGraph(java.io.File)
public abstract Graph readGraph(java.io.InputStream is)
throws DataIOException
GraphReader
readGraph in interface GraphReaderis - the InputStream to read the graph from
DataIOExceptionGraphReader.readGraph(java.io.InputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||