net.sourceforge.squirrel_sql.plugins.dataimport.importer
Class FileImporterFactory

java.lang.Object
  extended by 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

Constructor Summary
FileImporterFactory()
           
 
Method Summary
static IFileImporter createImporter(ImportFileType type, File importFile)
          This file is used to create a new file importer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileImporterFactory

public FileImporterFactory()
Method Detail

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 importer
importFile - The import file
Returns:
An implementation of IFileImporter.
Throws:
IOException - An exception is thrown on I/O error


Copyright © 2001-2011. All Rights Reserved.