net.datacrow.core.migration.itemimport
Class CsvImporter

java.lang.Object
  extended by net.datacrow.core.migration.ItemMigrater
      extended by net.datacrow.core.migration.itemimport.ItemImporter
          extended by net.datacrow.core.migration.itemimport.CsvImporter

public class CsvImporter
extends ItemImporter


Field Summary
static java.lang.String _CHARACTER_SET
           
static java.lang.String _SEPERATOR
           
 
Fields inherited from class net.datacrow.core.migration.itemimport.ItemImporter
client, mappings
 
Fields inherited from class net.datacrow.core.migration.ItemMigrater
_MODE_NON_THREADED, _MODE_THREADED, file, key, mode, moduleIdx, task
 
Constructor Summary
CsvImporter(int moduleIdx, int mode)
           
 
Method Summary
 java.lang.String getName()
           
 java.util.Collection<java.lang.String> getSettingKeys()
          The official settings which can be used in combination with the specific source reader implementation.
 java.lang.String[] getSupportedFileTypes()
           
 DcThread getTask()
           
protected  void initialize()
           
 boolean requiresMapping()
           
 
Methods inherited from class net.datacrow.core.migration.itemimport.ItemImporter
addMapping, clearMappings, getSetting, getSourceFields, getSourceMappings, getTargetField, setClient, setSetting, setValue
 
Methods inherited from class net.datacrow.core.migration.ItemMigrater
cancel, getFile, getIcon, getKey, getModule, setFile, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_SEPERATOR

public static final java.lang.String _SEPERATOR
See Also:
Constant Field Values

_CHARACTER_SET

public static final java.lang.String _CHARACTER_SET
See Also:
Constant Field Values
Constructor Detail

CsvImporter

public CsvImporter(int moduleIdx,
                   int mode)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getSettingKeys

public java.util.Collection<java.lang.String> getSettingKeys()
Description copied from class: ItemImporter
The official settings which can be used in combination with the specific source reader implementation.

Overrides:
getSettingKeys in class ItemImporter

requiresMapping

public boolean requiresMapping()
Overrides:
requiresMapping in class ItemImporter

initialize

protected void initialize()
                   throws java.lang.Exception
Specified by:
initialize in class ItemMigrater
Throws:
java.lang.Exception

getTask

public DcThread getTask()
Specified by:
getTask in class ItemMigrater

getSupportedFileTypes

public java.lang.String[] getSupportedFileTypes()
Specified by:
getSupportedFileTypes in class ItemImporter

getName

public java.lang.String getName()
Specified by:
getName in class ItemMigrater