net.sourceforge.squirrel_sql.plugins.dataimport.importer
Class FileImporterFactory
java.lang.Object
net.sourceforge.squirrel_sql.plugins.dataimport.importer.FileImporterFactory
public class FileImporterFactory
- extends Object
This factory creates a IFileImporter for the given type.
- Author:
- Thorsten Mürell
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileImporterFactory
public FileImporterFactory()
createImporter
public static IFileImporter createImporter(ImportFileType type,
File importFile)
throws IOException
- This file is used to create a new file importer.
- Parameters:
type - The type for the file importerimportFile - The import file
- Returns:
- An implementation of
IFileImporter.
- Throws:
IOException - An exception is thrown on I/O error
Copyright © 2001-2011. All Rights Reserved.