public class DBExporterAndImporterFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DBExporterAndImporterFactory.DBType
All DBTypes must appear here.
|
Constructor and Description |
---|
DBExporterAndImporterFactory() |
Modifier and Type | Method and Description |
---|---|
DBExporter |
getExporter(DBExporterAndImporterFactory.DBType type)
Returns a DBExporter object according to a given DBType
|
DBExporter |
getExporter(java.lang.String type)
Returns a DBExporter object according the type given as a String
|
DBImporter |
getImporter(DBExporterAndImporterFactory.DBType type)
Returns a DBImporter object according to a given DBType
|
DBImporter |
getImporter(java.lang.String type)
Returns a DBImporter object according the type given as a String
|
public DBExporter getExporter(DBExporterAndImporterFactory.DBType type)
type
- The type of the database selectedpublic DBExporter getExporter(java.lang.String type)
type
- The type of the DB as a String. (e.g. Postgresql, MySQL)public DBImporter getImporter(DBExporterAndImporterFactory.DBType type)
type
- The type of the database selectedpublic DBImporter getImporter(java.lang.String type)
type
- The type of the DB as a String. (e.g. Postgresql, MySQL)