|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.simonstl.fragment.FilterTester
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.06 added command-line options for the System properties used to specify the match and split processors.
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.
Constructor Summary | |
FilterTester()
|
Method Summary | |
static void |
main(java.lang.String[] args)
FilterTester's main method requires two arguments - a rules file and then 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 |
Constructor Detail |
public FilterTester()
Method Detail |
public static void printHelp()
public static void main(java.lang.String[] args) throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |