|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.wiki.antlr.Tool
public class Tool
This class is the top level class for the YAM language. It is used to translate from YAM to html, latex, and other languages.
Field Summary | |
---|---|
static String |
HTML
The string which can be used to check for the HTML target language. |
static String |
LATEX
The string which can be used to check for the LaTeX target language. |
static String |
version
|
static String |
WIKI
The string which can be used to check for the WikiHTML target language. |
static String |
XHTML
The string which can be used to check for the XHTML target language. |
Constructor Summary | |
---|---|
Tool()
|
Method Summary | |
---|---|
static void |
main(String[] args)
main procedure processes arguments: -i inputFile -o outputFile -l targetLanguage where targetLanguage can be html or latex -D x=y predefine YAM variable x to be y By default the target language is html, the input is from stdin and output to stdout. |
static void |
message()
Prints version message. |
static void |
run(Reader in,
Writer out,
String lang)
Initializes and runs the YAM engine. |
static void |
usage()
Prints the help message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String version
public static String LATEX
public static String HTML
public static String XHTML
public static String WIKI
Constructor Detail |
---|
public Tool()
Method Detail |
---|
public static void main(String[] args) throws Exception
Exception
public static void run(Reader in, Writer out, String lang)
public static void message()
public static void usage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |