Class test

java.lang.Object
  extended by test

public class test
extends java.lang.Object

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 $

Since:
0.0.1
Version:
$Revision: 1.55 $
Author:
Serguei Mokhov

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
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPT_HELP_LONG

public static final int OPT_HELP_LONG
Option number for --help.

Since:
0.3.0.2
See Also:
Constant Field Values

OPT_HELP_SHORT

public static final int OPT_HELP_SHORT
Option number for -h.

Since:
0.3.0.2
See Also:
Constant Field Values

OPT_VERSION

public static final int OPT_VERSION
Option number for --version.

Since:
0.3.0.2
See Also:
Constant Field Values

OPT_REVISION

public static final int OPT_REVISION
Option number for --verbose.

Since:
0.3.0.2
See Also:
Constant Field Values

OPT_COPYRIGHT

public static final int OPT_COPYRIGHT
Option number for --copyright.

Since:
0.3.0.2
See Also:
Constant Field Values

OPT_SYSTEM

public static final int OPT_SYSTEM
Option number for --system.

Since:
0.3.0.6
See Also:
Constant Field Values

OPT_DEBUG

public static final int OPT_DEBUG
Option number for --debug.

Since:
0.3.0.6
See Also:
Constant Field Values

OPT_DIAGNOSTIC

public static final int OPT_DIAGNOSTIC
Option number for --diagnostic.

Since:
0.3.0.6
See Also:
Constant Field Values
Constructor Detail

test

public test()
Method Detail

main

public static void main(java.lang.String[] argv)
Main program expecting and processing one or more options.

Parameters:
argv - command-line options. Accepted values are "--help", "-h", "--version", "--verbose", "--copyright", "--system", "--debug", and "--diagnostic".

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string
Since:
0.3.0.2


SourceForge Logo