All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fit.WikiRunner Maven / Gradle / Ivy

There is a newer version: 20240707
Show newest version
// Modified or written by Object Mentor, Inc. for inclusion with FitNesse.
// Copyright (c) 2002 Cunningham & Cunningham, Inc.
// Released under the terms of the GNU General Public License version 2 or later.
package fit;

// Copyright (c) 2002 Cunningham & Cunningham, Inc.
// Released under the terms of the GNU General Public License version 2 or later.


public class WikiRunner extends FileRunner {

  public static void main(String argv[]) {
    new WikiRunner().run(argv);
  }

  public void process() {
    try {
      String tags[] = {"wiki", "table", "tr", "td"};
      tables = new Parse(input, tags);    // look for wiki tag enclosing tables
  	  dispatcher.doTables(tables.parts);
    } catch (Exception e) {
      exception(e);
    }
    tables.print(output);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy