cpdetector.test
Class PerformanceTest

java.lang.Object
  extended by info.monitorenter.cpdetector.ACmdLineArgsInheritor
      extended by cpdetector.test.PerformanceTest

public class PerformanceTest
extends ACmdLineArgsInheritor

Author:
Achim Westermann

Field Summary
protected  File collectionRoot
          The root folder (directory) under which all files for the collection are found.
protected  CodepageDetectorProxy detector
          The codepage detection proxy that will be used.
 
Constructor Summary
PerformanceTest()
           
 
Method Summary
protected  void describe()
           
static void main(String[] args)
           
 void parseArgs(String[] cmdLineArgs)
           This method has to be called initially by the code using this instance in order to configure.
 void process()
           
protected  void usage()
           
protected  void verifyFiles()
          All three Files are validated if null, existant and the right type (directory vs.
 
Methods inherited from class info.monitorenter.cpdetector.ACmdLineArgsInheritor
addCmdLineOption, getParsedCmdLineOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collectionRoot

protected File collectionRoot
The root folder (directory) under which all files for the collection are found.


detector

protected CodepageDetectorProxy detector
The codepage detection proxy that will be used. Is optionally configured by argument \"-c\".

Constructor Detail

PerformanceTest

public PerformanceTest()
Method Detail

parseArgs

public void parseArgs(String[] cmdLineArgs)
               throws Exception
Description copied from class: ACmdLineArgsInheritor

This method has to be called initially by the code using this instance in order to configure.

Every subclass has to call super.parseArgs(cmdLineArgs) and then retrieve the options needed from the returned CmdLineParser!

Overrides:
parseArgs in class ACmdLineArgsInheritor
Throws:
Exception

process

public final void process()
                   throws Exception
Throws:
Exception

verifyFiles

protected void verifyFiles()
                    throws IllegalArgumentException
All three Files are validated if null, existant and the right type (directory vs. file).

Throws:
Exception - Sth. does not seem to be valid.
IllegalArgumentException

describe

protected void describe()

usage

protected void usage()
Specified by:
usage in class ACmdLineArgsInheritor

main

public static void main(String[] args)


Copyleft ㊢ 2003-2004 MPL 1.1, All Rights Footloose.