All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.mitre.cvw.mudsy.Mudsy

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----org.mitre.cvw.mudsy.Mudsy

public final class Mudsy
extends Applet
Starter applet and application for running the Mudsy MUD Client.


Constructor Index

 o Mudsy()

Method Index

 o getResourceBoolean(String)
Get a boolean from a ResourceBundle.
 o getResourceInt(String, int)
Get an integer from a ResourceBundle.
 o getResourceString(String)
Get a string from a ResourceBundle.
 o init()
Reads the applet parameters host, port, and font.
 o main(String[])
Starts a Mudsy as an application.

Constructors

 o Mudsy
 public Mudsy()

Methods

 o init
 public void init()
Reads the applet parameters host, port, and font.

Overrides:
init in class Applet
 o main
 public static void main(String args[])
Starts a Mudsy as an application. If present first arg is the host and the second arg is the port.

 o getResourceString
 public static String getResourceString(String nm)
Get a string from a ResourceBundle.

Parameters:
nm - name of key
Returns:
resource as a string or null on error
 o getResourceInt
 public static int getResourceInt(String nm,
                                  int defaultValue)
Get an integer from a ResourceBundle.

Parameters:
nm - name of key
defaultValue - value on error
Returns:
resource as an integer or default value on error
 o getResourceBoolean
 public static boolean getResourceBoolean(String nm)
Get a boolean from a ResourceBundle.

Parameters:
nm - name of key
Returns:
resource as a boolean or the false value on error

All Packages  Class Hierarchy  This Package  Previous  Next  Index