org.equanda.ymport
Class ImportWorker

java.lang.Object
  extended by org.equanda.ymport.ImportWorker

public class ImportWorker
extends Object

Base class importing data based on a reader. This class can be used for direct import in server side object (like the import servlet).

Author:
Joachim Van der Auwera

Constructor Summary
ImportWorker()
           
 
Method Summary
 String ymport(Reader reader, DatabaseMap databaseMap)
          Import the data from the import reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportWorker

public ImportWorker()
Method Detail

ymport

public String ymport(Reader reader,
                     DatabaseMap databaseMap)
Import the data from the import reader. The reader is closed by the method.

Parameters:
reader - stuff to import
databaseMap - database description for import
Returns:
error string or null


Copyright © 2007-2009. All Rights Reserved.