01: // Modified or written by Object Mentor, Inc. for inclusion with FitNesse.
02: // Copyright (c) 2002 Cunningham & Cunningham, Inc.
03: // Released under the terms of the GNU General Public License version 2 or later.
04: package fit;
05:
06: // Copyright (c) 2002 Cunningham & Cunningham, Inc.
07: // Released under the terms of the GNU General Public License version 2 or later.
08:
09: public class WikiRunner extends FileRunner {
10:
11: public static void main(String argv[]) {
12: new WikiRunner().run(argv);
13: }
14:
15: public void process() {
16: try {
17: String tags[] = { "wiki", "table", "tr", "td" };
18: tables = new Parse(input, tags); // look for wiki tag enclosing tables
19: fixture.doTables(tables.parts); // only do tables within that tag
20: } catch (Exception e) {
21: exception(e);
22: }
23: tables.print(output);
24: }
25: }
|