public class VOTableReader
extends java.lang.Object
Constructor and Description |
---|
VOTableReader() |
Modifier and Type | Method and Description |
---|---|
QDataSet |
getDataSet()
Get the dataset.
|
QDataSet |
readHeader(java.lang.String s,
ProgressMonitor monitor)
return just the header for the data.
|
QDataSet |
readTable(java.lang.String s)
read the table from the stream s.
|
QDataSet |
readTable(java.lang.String s,
ProgressMonitor monitor)
read the table from the stream s.
|
public QDataSet getDataSet()
public QDataSet readHeader(java.lang.String s, ProgressMonitor monitor) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
s
- String reference to a local file.monitor
- progress monitor for the read.java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public QDataSet readTable(java.lang.String s, ProgressMonitor monitor) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
s
- String reference to a local file.monitor
- progress monitor will provide line number updates.java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public QDataSet readTable(java.lang.String s) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
s
- String reference to a local file.java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException