FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class LaunchAppropriateUI

java.lang.Object
  extended by edu.umd.cs.findbugs.LaunchAppropriateUI

public class LaunchAppropriateUI
extends java.lang.Object

Class to launch the appropriate textUI or GUI. This class is the Main-Class in the findbugs.jar manifest, and is responsible for running an appropriate main() method.

Author:
Bill Pugh, David Hovemeyer

Field Summary
static int GUI1
          UI code for the old Swing GUI.
static int GUI2
          UI code for the new Swing GUI.
static int SHOW_HELP
          UI code for displaying command line help.
static int SHOW_VERSION
          UI code for displaying command line version information.
static int TEXTUI
          UI code for the text (command line) UI.
static java.util.Map<java.lang.String,java.lang.Integer> uiNameToCodeMap
          Map of UI name strings to integer UI codes.
 
Constructor Summary
LaunchAppropriateUI(java.lang.String[] args)
          Constructor.
 
Method Summary
 void launch()
          Launch the appropriate UI.
static void main(java.lang.String[] args)
          main() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXTUI

public static final int TEXTUI
UI code for the text (command line) UI.

See Also:
Constant Field Values

GUI1

public static final int GUI1
UI code for the old Swing GUI. This is deprecated now.

See Also:
Constant Field Values

GUI2

public static final int GUI2
UI code for the new Swing GUI.

See Also:
Constant Field Values

SHOW_HELP

public static final int SHOW_HELP
UI code for displaying command line help.

See Also:
Constant Field Values

SHOW_VERSION

public static final int SHOW_VERSION
UI code for displaying command line version information.

See Also:
Constant Field Values

uiNameToCodeMap

public static final java.util.Map<java.lang.String,java.lang.Integer> uiNameToCodeMap
Map of UI name strings to integer UI codes.

Constructor Detail

LaunchAppropriateUI

public LaunchAppropriateUI(java.lang.String[] args)
Constructor.

Parameters:
args - command line arguments
Method Detail

launch

public void launch()
            throws java.lang.Exception
Launch the appropriate UI.

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
main() method. This is where execution of FindBugs (any UI) starts.

Parameters:
args - command line arguments
Throws:
java.lang.Exception

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.