org.apache.tuscany.sca.cpp.tools.common
Class Options
java.lang.Object
org.apache.tuscany.sca.cpp.tools.common.Options
- public class Options
- extends java.lang.Object
Command line options passed to a tool's main program. All command line
options should begin with a dash "-". Some command line options take a value
which is the next parameter after the option. Others do not.
Method Summary |
static java.lang.Object |
getOption(java.lang.String key)
|
static boolean |
quiet()
|
static void |
set(java.lang.String[] args)
Initialises the options based on the args passed to main |
static boolean |
verbose()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
set
public static void set(java.lang.String[] args)
- Initialises the options based on the args passed to main
getOption
public static java.lang.Object getOption(java.lang.String key)
verbose
public static boolean verbose()
quiet
public static boolean quiet()
Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved