proper.engine
Class Importer

java.lang.Object
  extended by proper.core.ProperObject
      extended by proper.engine.Engine
          extended by proper.engine.DatabaseEngine
              extended by proper.engine.Importer
All Implemented Interfaces:
ProperInterface

public class Importer
extends DatabaseEngine

This class imports the specified datafiles (Prolog or CSV) into a database.
If verbose level is >=1 the parser's verbose is set to TRUE, if it is >=2 then also the inserts are printed to stdout (can be pretty much!).

Version:
$Revision: 1.3 $
Author:
FracPete

Field Summary
static java.lang.String KEY_TABLE
          the name of the table that stores the String-key - Int-key relation (necessary for RELAGGS, since it can only work with INT-keys)
 
Fields inherited from interface proper.core.ProperInterface
VERSION
 
Constructor Summary
Importer()
          initializes the object
 
Method Summary
 boolean execute()
          runs the classifier
 
Methods inherited from class proper.engine.Engine
clear, copyParameter, exists, getParameter, getParameters, getStringParameter, setParameter, setParameters, toString, valueEquals
 
Methods inherited from class proper.core.ProperObject
addListener, addOutput, classInVerbose, debugprint, debugprint, debugprint, debugprint, debugprintln, debugprintln, debugprintln, debugprintln, debugprintln, getListeners, getRuntime, getVerbose, getVerboseLevel, getVerboseLevelForClass, getVerboseString, getVerboseStringForClass, notifyListener, notifyListeners, print, print, print, print, println, println, println, println, println, printMemory, removeListener, setOutput, setVerbose, setVerboseLevel, setVerboseString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_TABLE

public static final java.lang.String KEY_TABLE
the name of the table that stores the String-key - Int-key relation (necessary for RELAGGS, since it can only work with INT-keys)

See Also:
Constant Field Values
Constructor Detail

Importer

public Importer()
initializes the object

Method Detail

execute

public boolean execute()
runs the classifier

Overrides:
execute in class Engine