org.rdtdm
Class Main

java.lang.Object
  |
  +--org.rdtdm.Main
Direct Known Subclasses:
Twice

public class Main
extends java.lang.Object

Main, das Hauptprogramm.



Copyright (c) 2001 by Dirk Münstermann
All Rights Reserved

Version:
$Revision:$ ($Date:$)
Changelog:
 $Log:$
 


Author:
Dirk Münstermann

Field Summary
protected  Criterion acceptcrit
           
protected  DBFeeder feeder
           
protected  DBMapper mapper
           
protected  java.util.Properties params
           
protected  Criterion pruningcrit
           
protected  Rdtdb rdtdb
           
protected  RuleModels rms
           
protected  Literal target
           
protected  SearchSpace ts
           
protected  XmlInit xmlinit
           
 
Constructor Summary
Main()
           
 
Method Summary
protected  void doneRDT()
           
protected  boolean init(java.lang.String[] args)
          Initialisiert das Hauptprogramm.
protected  void initCrits()
           
protected  void initDB(boolean droponly)
           
protected  void initMaps()
           
protected  void initRDT()
           
protected  void initRMs()
           
protected  void initSearchSpace()
           
protected  void initTarget()
           
protected  void initXML()
           
protected  boolean isEnvOk()
          Testet alle notwendigen java properties ab.
protected  boolean isPropertiesOk(java.lang.String[] args)
          Testet alle notwendigen Parameter ab.
protected  boolean isSwitch(java.lang.String key)
          Liefert true, wenn ein switch-Parameter mit dem ?bergebenen Namen als Parameter existiert, sonst false.
static void main(java.lang.String[] args)
           
protected  void printActiveParams()
           
protected  void printParams(java.lang.String[] args)
           
protected static void printProperties()
           
protected static void printProperty(java.lang.String key)
           
protected  void printResults()
           
protected  int start(java.lang.String[] args)
           
protected  void startRDT()
           
protected  void usage(java.lang.String[] args)
          Gibt eine kurze Benutzungsanleitung auf der Standardkonsole aus und druckt alle ?bergebene Parameter auf.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

params

protected java.util.Properties params

xmlinit

protected XmlInit xmlinit

rms

protected RuleModels rms

feeder

protected DBFeeder feeder

acceptcrit

protected Criterion acceptcrit

pruningcrit

protected Criterion pruningcrit

mapper

protected DBMapper mapper

target

protected Literal target

ts

protected SearchSpace ts

rdtdb

protected Rdtdb rdtdb
Constructor Detail

Main

public Main()
Method Detail

printParams

protected void printParams(java.lang.String[] args)

printActiveParams

protected void printActiveParams()

printProperty

protected static void printProperty(java.lang.String key)

printProperties

protected static void printProperties()

init

protected boolean init(java.lang.String[] args)
Initialisiert das Hauptprogramm. ?berpr?ft die Parameterndes Aufrufs und legt sie intern ab.

Parameters:
args - Parameter des Aufrufs.
Returns:
true, wenn die Initialisierung korrekt erfolgt ist, sonst false.


isEnvOk

protected boolean isEnvOk()
Testet alle notwendigen java properties ab.

Returns:
true, wenn alle java properties vorhanden sind.


isPropertiesOk

protected boolean isPropertiesOk(java.lang.String[] args)
Testet alle notwendigen Parameter ab.

Parameters:
args - Parameter des Aufrufs.
Returns:
true, wenn alle Parameter vorhanden sind.


usage

protected void usage(java.lang.String[] args)
Gibt eine kurze Benutzungsanleitung auf der Standardkonsole aus und druckt alle ?bergebene Parameter auf.

Parameters:
args - Parameter des Aufrufs.


isSwitch

protected boolean isSwitch(java.lang.String key)
Liefert true, wenn ein switch-Parameter mit dem ?bergebenen Namen als Parameter existiert, sonst false.

Parameters:
key - Name des Switch Schl?ssels
Returns:
true, wenn der Switch gesetzt ist, sonst false;


initXML

protected void initXML()
                throws java.lang.Exception
java.lang.Exception

initDB

protected void initDB(boolean droponly)
               throws java.lang.Exception
java.lang.Exception

initMaps

protected void initMaps()
                 throws java.lang.Exception
java.lang.Exception

initCrits

protected void initCrits()
                  throws java.lang.Exception
java.lang.Exception

initRMs

protected void initRMs()
                throws java.lang.Exception
java.lang.Exception

initTarget

protected void initTarget()
                   throws java.lang.Exception
java.lang.Exception

initSearchSpace

protected void initSearchSpace()
                        throws java.lang.Exception
java.lang.Exception

initRDT

protected void initRDT()
                throws java.lang.Exception
java.lang.Exception

printResults

protected void printResults()
                     throws java.lang.Exception
java.lang.Exception

startRDT

protected void startRDT()
                 throws java.lang.Exception
java.lang.Exception

doneRDT

protected void doneRDT()
                throws java.lang.Exception
java.lang.Exception

start

protected int start(java.lang.String[] args)

main

public static void main(java.lang.String[] args)