net.sourceforge.xmlfit.data
Interface DataSourceFactory
- All Known Implementing Classes:
- DataSourceFactoryImpl
public interface DataSourceFactory
Factory for the XMLFit DataSources.
Method Summary |
DataSource |
createDataSource(java.lang.String fileName)
Create a DataSource for file, the file extension is used to selected the DataSource. |
INSTANCE
static final DataSourceFactory INSTANCE
- The instance of the factory which will be use by XMLFit.
createDataSource
DataSource createDataSource(java.lang.String fileName)
- Create a DataSource for file, the file extension is used to selected the DataSource.
Example: File with the name *.xml a instance of a XMLDataSourceImpl will be return.
- Parameters:
fileName
- the name of the DataSource file. For Example a XML File.
- Returns:
- a instance of a DataSource for the given file type.
Copyright © 2009. All Rights Reserved.