cpdetector.test
Class PerformanceTest
java.lang.Object
info.monitorenter.cpdetector.ACmdLineArgsInheritor
cpdetector.test.PerformanceTest
public class PerformanceTest
- extends ACmdLineArgsInheritor
- Author:
- Achim Westermann
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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\".
PerformanceTest
public PerformanceTest()
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.