01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fit;
04:
05: // Copyright (c) 2002 Cunningham & Cunningham, Inc.
06: // Released under the terms of the GNU General Public License version 2 or later.
07:
08: public class WikiRunner extends FileRunner {
09:
10: public static void main(String argv[]) {
11: new WikiRunner().run(argv);
12: }
13:
14: public void process() {
15: try {
16: String tags[] = { "wiki", "table", "tr", "td" };
17: tables = new Parse(input, tags); // look for wiki tag enclosing
18: // 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: }
|