com.ohrasys.app.gdsbrowser
Class GDSBrowserUtil

java.lang.Object
  extended by com.ohrasys.app.gdsbrowser.GDSBrowserUtil

public class GDSBrowserUtil
extends java.lang.Object

A utility class to store static variables such as command line options, usage string and version information


Field Summary
static java.lang.String GDSIN_FLAG
          The name of the command line option to specify the GDS file
static java.lang.String HELP_FLAG
          The name of the command line option to display the usage
static java.lang.String LOG_FLAG
          The name of the command line option to specify the logfile
static java.lang.String NOGUI_FLAG
          The name of the command line option to disable the GUI
static java.lang.String USAGE
          The usage statement
static java.lang.String VERSION_FLAG
          The name of the command line option to display the version
 
Constructor Summary
GDSBrowserUtil()
           
 
Method Summary
static java.lang.String getAbout()
          Displays information about the application including version and copyright information.
static java.lang.String getCopyright()
          Displays the copyright information
static com.ohrasys.app.AppOption[] getTemplates()
          Returns an array of command line options representing the allowable command line options for the application.
static java.lang.String getUsage()
          Displays the application usage
static java.lang.String getVersion()
          Displays the application version
 java.lang.String toString()
          Returns a string representation of this class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NOGUI_FLAG

public static final java.lang.String NOGUI_FLAG
The name of the command line option to disable the GUI

See Also:
Constant Field Values

VERSION_FLAG

public static final java.lang.String VERSION_FLAG
The name of the command line option to display the version

See Also:
Constant Field Values

LOG_FLAG

public static final java.lang.String LOG_FLAG
The name of the command line option to specify the logfile

See Also:
Constant Field Values

HELP_FLAG

public static final java.lang.String HELP_FLAG
The name of the command line option to display the usage

See Also:
Constant Field Values

GDSIN_FLAG

public static final java.lang.String GDSIN_FLAG
The name of the command line option to specify the GDS file

See Also:
Constant Field Values

USAGE

public static final java.lang.String USAGE
The usage statement

Constructor Detail

GDSBrowserUtil

public GDSBrowserUtil()
Method Detail

getAbout

public static java.lang.String getAbout()
Displays information about the application including version and copyright information.

Returns:
The application information

getCopyright

public static java.lang.String getCopyright()
Displays the copyright information

Returns:
The copyright information

getTemplates

public static com.ohrasys.app.AppOption[] getTemplates()
Returns an array of command line options representing the allowable command line options for the application.

Returns:
The valid command line options for the application

getUsage

public static java.lang.String getUsage()
Displays the application usage

Returns:
The application usage

getVersion

public static java.lang.String getVersion()
Displays the application version

Returns:
The application version

toString

public java.lang.String toString()
Returns a string representation of this class

Overrides:
toString in class java.lang.Object
Returns:
The physical address of this instance