JML

org.multijava.util.optgen
Class Main

java.lang.Object
  extended byorg.multijava.util.optgen.Main

public class Main
extends Object

This class is the entry point for the option generator.


Field Summary
private  DefinitionFile definition
           
private static String HELP
           
private  String[] sourceFiles
           
private static String USAGE
           
 
Constructor Summary
private Main(String[] args)
          Only main can construct Main
 
Method Summary
private  void buildInterfaceFile()
          Generates the source code and writes it to disk for the option definitions in * this.definition.
private  void checkIdentifiers()
          Checks for unique option identifiers in this.definition.
private  void checkShortcuts()
          Checks for unique shortcuts in this.definition.
static void main(String[] args)
          Entry point to the assembler
private  void parseArgs(String[] args)
           
private  void parseSourceFiles(String sourceFile)
          Sets this.definition to a new DefinitionFile instance formed by parsing the named sourceFile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USAGE

private static final String USAGE

HELP

private static final String HELP

sourceFiles

private String[] sourceFiles

definition

private DefinitionFile definition
Constructor Detail

Main

private Main(String[] args)
Only main can construct Main

Method Detail

parseSourceFiles

private void parseSourceFiles(String sourceFile)
Sets this.definition to a new DefinitionFile instance formed by parsing the named sourceFile.


checkIdentifiers

private void checkIdentifiers()
Checks for unique option identifiers in this.definition.


checkShortcuts

private void checkShortcuts()
Checks for unique shortcuts in this.definition.


buildInterfaceFile

private void buildInterfaceFile()
Generates the source code and writes it to disk for the option definitions in * this.definition.


main

public static void main(String[] args)
Entry point to the assembler


parseArgs

private void parseArgs(String[] args)

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.