|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--test
Startup utility class allowing querying MARF's version class revisions, and copyright. $Id: test.java,v 1.37 2005/06/03 16:37:37 mokhov Exp $
Field Summary | |
static int |
OPT_COPYRIGHT
Option number for --copyright. |
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_VERSION
Option number for --version. |
Constructor Summary | |
test()
|
Method Summary | |
static java.lang.String |
getRevision()
Returns source code revision information. |
static void |
main(java.lang.String[] argv)
Main program expecting and processing one or more options. |
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
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", and "--copyright".public static java.lang.String getRevision()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |