net.datacrow.core.migration.itemimport
Class ItemImporters

java.lang.Object
  extended by net.datacrow.core.migration.itemimport.ItemImporters

public class ItemImporters
extends java.lang.Object


Method Summary
 ItemImporter getImporter(java.lang.String type, int moduleIdx)
          Gets a (threaded) importer which can handle the specified file type.
 ItemImporter getImporter(java.lang.String type, int moduleIdx, int mode)
          Gets an importer which can handle the specified file type.
 java.util.Collection<ItemImporter> getImporters(int moduleIdx)
           
static ItemImporters getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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