All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----oplan.util.Parameters
private static Parameters. AccessRecordingProperties parameters
public Parameters()
public static void setParameter(String pname, String value)
public static Properties getParameters()
public static String getParameter(String pname)
public static String getParameter(String pname, String defaultValue)
public static boolean haveParameter(String pname)
public static int getInt(String pname)
public static int getInt(String pname, int defaultValue)
public static boolean getBoolean(String pname)
public static boolean getBoolean(String pname, boolean defaultValue)
private static RuntimeException bogusParameter(String type, String pname, String value)
public static void checkParameterUse()
public static boolean allParametersWereUsed()
public static void processCommandLineArguments(String argv[])
If no value is given, the value is the empty string "". For getBoolean(name), this is equivalent to "true".
The syntax -not name, or -no name, is equivalent to -name=false.
The syntax -load filename can be used to read parameter values from a file. The file should contain lines in name=value syntax.
private static void complain(String pname, String message)
public static void loadParameters(String filename)
All Packages Class Hierarchy This Package Previous Next Index