org.equanda.ymport
Class ImportHandler
java.lang.Object
org.equanda.ymport.ImportHandler
public class ImportHandler
- extends Object
Import handler, actually do the import
- Author:
- Joachim Van der Auwera
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportHandler
public ImportHandler(TableHandler table,
Collection fields)
ymport
public Object ymport(Collection data)
throws ImportHandlerException
- Throws:
ImportHandlerException
buildImportHandler
public static ImportHandler buildImportHandler(DatabaseMap databaseMap,
String line)
throws ImportHandlerException
- Build an importhandler for a definition
- Parameters:
databaseMap
- database mapline
- line to handle
- Returns:
- import handler
- Throws:
ImportHandlerException
- oops
buildFieldList
public static Collection buildFieldList(DatabaseMap databaseMap,
FieldMap fieldMap,
String line)
throws ImportHandlerException
- Build a collection of FieldHandlers for a table.
- Parameters:
databaseMap
- database mapfieldMap
- field mapline
- definition of fields
- Returns:
- @class Collection of @class FieldHandler to import the data
- Throws:
ImportHandlerException
- oops
Copyright © 2007-2009. All Rights Reserved.