org.freehep.jas.plugin.datasource
Class FileHandlerDataSource
java.lang.Object
org.freehep.jas.plugin.datasource.FileHandlerDataSource
- All Implemented Interfaces:
- DataSource
public class FileHandlerDataSource
- extends Object
- implements DataSource
Makes a DataSource from a FileHandler
- Author:
- Tony Johnson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileHandlerDataSource
public FileHandlerDataSource(FileHandler handler)
FileHandlerDataSource
public FileHandlerDataSource(FileHandler handler,
String name)
getName
public String getName()
- Specified by:
getName
in interface DataSource
- Returns:
- The name of the data source (as it should appear in the wizard)
getWizardPage
public org.freehep.swing.wizard.WizardPage getWizardPage()
- Specified by:
getWizardPage
in interface DataSource
- Returns:
- The wizard page to display if the user selects this data source
openFile
protected void openFile(File file)
throws IOException
- Throws:
IOException
addOptions
protected Component addOptions()
Copyright © 2013. All Rights Reserved.