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