net.datacrow.core.migration.itemimport
Class ItemImporters
java.lang.Object
net.datacrow.core.migration.itemimport.ItemImporters
public class ItemImporters
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ItemImporters getInstance()
getImporters
public java.util.Collection<ItemImporter> getImporters(int moduleIdx)
getImporter
public ItemImporter getImporter(java.lang.String type,
int moduleIdx)
throws java.lang.Exception
- Gets a (threaded) importer which can handle the specified file type.
This method only looks at the default (not module specific) importers.
- Parameters:
type
- moduleIdx
-
- Throws:
java.lang.Exception
getImporter
public ItemImporter getImporter(java.lang.String type,
int moduleIdx,
int mode)
throws java.lang.Exception
- Gets an importer which can handle the specified file type.
This method only looks at the default (not module specific) importers.
- Parameters:
type
- moduleIdx
- mode
-
- Throws:
java.lang.Exception