com.simonstl.fragment
Class FilterTester
java.lang.Object
|
+--com.simonstl.fragment.FilterTester
- public class FilterTester
- extends java.lang.Object
This class just takes two arguments - a rules file and a target file.
It loads the rules, feeds them to the filter, and sets up an XMLWriter
so that testers can see the results on the command line.]
This class requires David Megginson's XMLWriter class, available from:
http://www.megginson.com/Software/index.html.
Version 0.05 added defaults for the System properties used to specify the match and split processors.
Version 0.04 added command line options for printing out the rules and for specifying parsers.
Version 0.03 moved all (non-regex) Xerces dependencies into this class, preparing for their removal.
Version 0.02 switched to the DataWriter implementation of XMLWriter, which makes it easier to
see results by adding whitespace.
- Version:
- 0.04 4 July 2001
- Author:
- Simon St.Laurent
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
printHelp()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterTester
public FilterTester()
printHelp
public static void printHelp()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception