uk.ac.starlink.table.gui
Class BasicTableLoadDialog.DataSourceTableSupplier
java.lang.Object
|
+--uk.ac.starlink.table.gui.BasicTableLoadDialog.DataSourceTableSupplier
- All Implemented Interfaces:
- BasicTableLoadDialog.TableSupplier
- Enclosing class:
- BasicTableLoadDialog
- public class BasicTableLoadDialog.DataSourceTableSupplier
- extends Object
- implements BasicTableLoadDialog.TableSupplier
TableSupplier implementation based on a
DataSource
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicTableLoadDialog.DataSourceTableSupplier
public BasicTableLoadDialog.DataSourceTableSupplier(DataSource datsrc)
getTable
public StarTable getTable(StarTableFactory factory,
String format)
throws IOException
- Description copied from interface:
BasicTableLoadDialog.TableSupplier
- Attempts to load a table.
This synchronous method is not to be called on the event
dispatch thread.
- Specified by:
getTable
in interface BasicTableLoadDialog.TableSupplier
- Parameters:
factory
- factory used for loading if necessaryformat
- format string
IOException
getTableID
public String getTableID()
- Description copied from interface:
BasicTableLoadDialog.TableSupplier
- Returns a string representation (location maybe) of the table
which this object will load.
- Specified by:
getTableID
in interface BasicTableLoadDialog.TableSupplier
- Returns:
- table id