info.bliki.wiki.template.expr.util
Class GenerateOperatorArrays

java.lang.Object
  extended by info.bliki.wiki.template.expr.util.GenerateOperatorArrays

public class GenerateOperatorArrays
extends java.lang.Object

Utility for generating source codes for the info.bliki.wiki.template.expr.operator.ASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORS arrays from the operators.txt textfile description


Constructor Summary
GenerateOperatorArrays()
           
 
Method Summary
static void generateOperatorTable(java.io.InputStream is, java.util.HashMap operatorMap, java.util.HashMap operatorTokenStartSet)
           
static void main(java.lang.String[] args)
          Utility for generating source codes for the ASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORS arrays from an operator's text file description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateOperatorArrays

public GenerateOperatorArrays()
Method Detail

main

public static void main(java.lang.String[] args)
Utility for generating source codes for the ASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORS arrays from an operator's text file description

Parameters:
args - if args.length==0 take the default /opertors.txt file for generating the arrays; if args.length>=1 the arg[0] parameters should contain the complete filename of the operator's description file

generateOperatorTable

public static void generateOperatorTable(java.io.InputStream is,
                                         java.util.HashMap operatorMap,
                                         java.util.HashMap operatorTokenStartSet)


Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.