public abstract class AbstractTableReader extends java.lang.Object implements TableReader
TableReader.readTable(InputStream)
method.Constructor and Description |
---|
AbstractTableReader() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readTable
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 fromDataIOException
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 fromDataIOException
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 fromDataIOException
TableReader.readTable(java.io.File)
Copyright ? 2013 Regents of the University of California