public interface TableLoader
Modifier and Type | Field | Description |
---|---|---|
static ValueInfo |
SOURCE_INFO |
Table parameter key which may be used to provide information about
the source of a loaded table.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getLabel() |
Returns a short textual label describing what is being loaded.
|
TableSequence |
loadTables(StarTableFactory tfact) |
Loads one or more tables.
|
static final ValueInfo SOURCE_INFO
getLabel()
to label the table for users.java.lang.String getLabel()
TableSequence loadTables(StarTableFactory tfact) throws java.io.IOException
SOURCE_INFO
key, for instance:
table.setParameter(new DescribedValue(TableLoader.SOURCE_INFO, "Foo protocol query #1"))This is optional; for instance if a table name is set that may provide sufficient description.
This method may be time-consuming, and should not be called on the event dispatch thread.
tfact
- table factoryjava.io.IOException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.