StarTable
public class CsvStarTable extends StreamStarTable
Here are the rules:
END
Constructor | Description |
---|---|
CsvStarTable(uk.ac.starlink.util.DataSource datsrc) |
Modifier and Type | Method | Description |
---|---|---|
protected java.io.PushbackInputStream |
getInputStream() |
Convenience method which returns a buffered pushback stream based
on this table's data source.
|
protected RowEvaluator.Metadata |
obtainMetadata() |
Obtains column metadata for this table, probably by reading through
the rows once and using a RowEvaluator.
|
protected java.util.List |
readRow(java.io.PushbackInputStream in) |
Reads the next row of data from a given stream.
|
checkedLongToInt, getCell, getColumnAuxDataInfos, getName, getParameterByName, getParameters, getRow, getURL, isRandom, setName, setParameter, setParameters, setURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnCount, getColumnInfo, getRowCount, getRowSequence, init
public CsvStarTable(uk.ac.starlink.util.DataSource datsrc) throws TableFormatException, java.io.IOException
TableFormatException
java.io.IOException
protected java.io.PushbackInputStream getInputStream() throws java.io.IOException
StreamStarTable
getInputStream
in class StreamStarTable
java.io.IOException
protected RowEvaluator.Metadata obtainMetadata() throws TableFormatException, java.io.IOException
StreamStarTable
obtainMetadata
in class StreamStarTable
TableFormatException
- if the data doesn't represent this
kind of tablejava.io.IOException
- if I/O error is encounteredprotected java.util.List readRow(java.io.PushbackInputStream in) throws java.io.IOException
readRow
in class StreamStarTable
in
- input streamTableFormatException
- if the data doesn't represent this
kind of tablejava.io.IOException
- if I/O error is encounteredCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.