JML

org.multijava.mjc
Class MjcOptions

java.lang.Object
  extended byorg.multijava.util.Options
      extended byorg.multijava.mjc.MjcCommonOptions
          extended byorg.multijava.mjc.MjcOptions

public class MjcOptions
extends MjcCommonOptions

This class is automatically generated from MjcOptions.opt and contains member fields corresponding to command-line options.


Field Summary
private  String filter
           
private static gnu.getopt.LongOpt[] LONGOPTS
           
private  boolean notc
           
private  boolean nowrite
           
private  int optimize
           
 
Fields inherited from class org.multijava.mjc.MjcCommonOptions
 
Fields inherited from class org.multijava.util.Options
 
Constructor Summary
MjcOptions()
           
MjcOptions(String name)
           
 
Method Summary
 String filter()
           
 Hashtable getCurrentValue()
          Returns the current value
 Hashtable getDefaultValue()
          Returns the default value
 Hashtable getGuiType()
          Returns the GUI categories that this option is in
 Hashtable getHelpString()
          Returns the help messages
 LinkedHashSet getLongname()
          Returns the longname
 gnu.getopt.LongOpt[] getLongOptions()
          Gets long options
 HashMap getOptions()
           
 Hashtable getSelectionList()
          Returns the list of selections for an option
 String getShortOptions()
          Gets short options
 Hashtable getTableHeader()
          Returns the header for a table
 Hashtable getType()
          Returns the type
 void help()
           
 boolean notc()
           
 boolean nowrite()
           
 int optimize()
           
 boolean processOption(int code, gnu.getopt.Getopt g)
          Handles the option identified by the given code, perhaps using g to process any arguments to the option.
 String set_filter(String filter)
           
 boolean set_notc(boolean notc)
           
 boolean set_nowrite(boolean nowrite)
           
 int set_optimize(int optimize)
           
 boolean setOption(String name, Object newValue)
           
 void usage()
           
 
Methods inherited from class org.multijava.mjc.MjcCommonOptions
classpath, debug, deprecation, destination, generic, keepGoing, multijava, nonnulltypes, quiet, recursive, relaxed, safemath, set_classpath, set_debug, set_deprecation, set_destination, set_generic, set_keepGoing, set_multijava, set_nonnulltypes, set_quiet, set_recursive, set_relaxed, set_safemath, set_source, set_sourcepath, set_universesx, set_verbose, set_warning, set_xArrayNNTS, set_Xlint, source, sourcepath, universesx, verbose, warning, xArrayNNTS, Xlint
 
Methods inherited from class org.multijava.util.Options
formOneColumnArray, formTwoColumnArray, getInt, getNonNullString, getNonNullStringArray, getString, getString, getSystemProperty, nonOptions, parseCommandLine, parseCommandLine, printOptions, printVersion, version, Xnoversion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

private String filter

nowrite

private boolean nowrite

optimize

private int optimize

notc

private boolean notc

LONGOPTS

private static final gnu.getopt.LongOpt[] LONGOPTS
Constructor Detail

MjcOptions

public MjcOptions(String name)

MjcOptions

public MjcOptions()
Method Detail

filter

public String filter()

set_filter

public String set_filter(String filter)

nowrite

public boolean nowrite()

set_nowrite

public boolean set_nowrite(boolean nowrite)

optimize

public int optimize()

set_optimize

public int set_optimize(int optimize)

notc

public boolean notc()

set_notc

public boolean set_notc(boolean notc)

processOption

public boolean processOption(int code,
                             gnu.getopt.Getopt g)
Description copied from class: Options
Handles the option identified by the given code, perhaps using g to process any arguments to the option. This method is typically overridden in subclasses to process additional arguments with the subclass defering to the superclass if code is unknown.

Overrides:
processOption in class MjcCommonOptions

setOption

public boolean setOption(String name,
                         Object newValue)
Overrides:
setOption in class MjcCommonOptions

getOptions

public HashMap getOptions()
Overrides:
getOptions in class MjcCommonOptions

getLongname

public LinkedHashSet getLongname()
Description copied from class: Options
Returns the longname

Overrides:
getLongname in class MjcCommonOptions

getType

public Hashtable getType()
Description copied from class: Options
Returns the type

Overrides:
getType in class MjcCommonOptions

getDefaultValue

public Hashtable getDefaultValue()
Description copied from class: Options
Returns the default value

Overrides:
getDefaultValue in class MjcCommonOptions

getCurrentValue

public Hashtable getCurrentValue()
Description copied from class: Options
Returns the current value

Overrides:
getCurrentValue in class MjcCommonOptions

getTableHeader

public Hashtable getTableHeader()
Description copied from class: Options
Returns the header for a table

Overrides:
getTableHeader in class MjcCommonOptions

getSelectionList

public Hashtable getSelectionList()
Description copied from class: Options
Returns the list of selections for an option

Overrides:
getSelectionList in class MjcCommonOptions

getHelpString

public Hashtable getHelpString()
Description copied from class: Options
Returns the help messages

Overrides:
getHelpString in class MjcCommonOptions

getGuiType

public Hashtable getGuiType()
Description copied from class: Options
Returns the GUI categories that this option is in

Overrides:
getGuiType in class MjcCommonOptions

getShortOptions

public String getShortOptions()
Description copied from class: Options
Gets short options

Overrides:
getShortOptions in class MjcCommonOptions

usage

public void usage()
Description copied from class: Options
shows a help message

Overrides:
usage in class MjcCommonOptions

help

public void help()
Description copied from class: Options
shows an usage message

Overrides:
help in class MjcCommonOptions

getLongOptions

public gnu.getopt.LongOpt[] getLongOptions()
Description copied from class: Options
Gets long options

Overrides:
getLongOptions in class MjcCommonOptions

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.