|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttest
public class test
Startup utility class allowing querying MARF's version class revisions, and copyright.
$Id: test.java,v 1.55 2008/01/03 03:21:57 mokhov Exp $
| Field Summary | |
|---|---|
static int |
OPT_COPYRIGHT
Option number for --copyright. |
static int |
OPT_DEBUG
Option number for --debug. |
static int |
OPT_DIAGNOSTIC
Option number for --diagnostic. |
static int |
OPT_HELP_LONG
Option number for --help. |
static int |
OPT_HELP_SHORT
Option number for -h. |
static int |
OPT_REVISION
Option number for --verbose. |
static int |
OPT_SYSTEM
Option number for --system. |
static int |
OPT_VERSION
Option number for --version. |
| Constructor Summary | |
|---|---|
test()
|
|
| Method Summary | |
|---|---|
private static void |
copyright()
Display copyright information. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
static void |
main(java.lang.String[] argv)
Main program expecting and processing one or more options. |
private static void |
revision()
Display class revision information for all of MARF. |
private static void |
usage()
Display usage information for all of MARF. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OPT_HELP_LONG
public static final int OPT_HELP_SHORT
public static final int OPT_VERSION
public static final int OPT_REVISION
public static final int OPT_COPYRIGHT
public static final int OPT_SYSTEM
public static final int OPT_DEBUG
public static final int OPT_DIAGNOSTIC
| Constructor Detail |
|---|
public test()
| Method Detail |
|---|
public static void main(java.lang.String[] argv)
argv - command-line options. Accepted values are "--help",
"-h", "--version", "--verbose", "--copyright", "--system", "--debug",
and "--diagnostic".public static java.lang.String getMARFSourceCodeRevision()
private static void usage()
private static void revision()
private static void copyright()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||