com.simonstl.ents
Class EntTester
java.lang.Object
|
+--com.simonstl.ents.EntTester
- public class EntTester
- extends java.lang.Object
This class tests EntsRefsFilter
.
It takes two arguments - a rules file and a target file.
It loads the rules, feeds them to the filter, and displays
the results on the command line.
Version 0.01 is based on the FilterTester class from the com.simonstl.fragment package.
- Version:
- 0.01 4 February 2002
- Author:
- Simon St.Laurent
Method Summary |
static void |
main(java.lang.String[] args)
FilterTester's main method requires two arguments - a rules file and a target XML file. |
static void |
printHelp()
printHelp() lists options if the user doesn't specify any files. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntTester
public EntTester()
printHelp
public static void printHelp()
- printHelp() lists options if the user doesn't specify any files.
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- FilterTester's main method requires two arguments - a rules file and a target XML file. A rules file may also be specified.
Options may appear before those arguments:
-p [parser class name] - specifies a SAX2 parser for use with this tool
-r - parse and display the rules only