All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jfd.ale.MakeArray
This class should actually be run by invoking "make_array" from the tools directory. It reads from standard input and writes to standard output, the only recognized switch is "-compact" which causes the utility to remove all whitespace in the generated array.
As an example, suppose you have an ale file "myfile.ale" whose contents you wish to include in your .java code as a String[]. Assume you are working in the examples/simple directory of this distribution.
../../tools/make_array < myfile.ale > temp.txt (unix)
..\..\tools\make_array < myfile.ale > temp.txt (pc)
Then (using your favorite text editor) import the temp.txt file into your java code
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index