proper.app
Class Reducer

java.lang.Object
  extended by proper.core.ProperObject
      extended by proper.core.ArgumentObject
          extended by proper.app.Application
              extended by proper.app.DatabaseApplication
                  extended by proper.app.Reducer
All Implemented Interfaces:
CommandLineInterface, ProperInterface, XMLAccessInterface

public class Reducer
extends DatabaseApplication

This class is used for reducing (= deleting) the amount of rows of tables in a database given a certain column.
For a complete list of commandline parameters just run it with the option "-help".

Version:
$Revision: 1.3 $
Author:
FracPete

Field Summary
 
Fields inherited from interface proper.core.ProperInterface
VERSION
 
Constructor Summary
Reducer()
           
 
Method Summary
 void checkCommandLine()
          checks whether all necessary parameters are provided
static void main(java.lang.String[] args)
          starts the application
 void printDescription()
          prints a short description of this class
 
Methods inherited from class proper.app.Application
createInstance, fromXML, parameterError, printUsage, run, run, setArgs, setArgs, toString, toXML
 
Methods inherited from class proper.core.ArgumentObject
fixAdditionalArg
 
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
 

Constructor Detail

Reducer

public Reducer()
Method Detail

checkCommandLine

public void checkCommandLine()
checks whether all necessary parameters are provided

Specified by:
checkCommandLine in interface CommandLineInterface
Overrides:
checkCommandLine in class Application

printDescription

public void printDescription()
prints a short description of this class

Specified by:
printDescription in interface CommandLineInterface
Overrides:
printDescription in class Application

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
starts the application

Throws:
java.lang.Exception