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.
-
Mudsy()
-
-
getResourceBoolean(String)
- Get a boolean from a ResourceBundle.
-
getResourceInt(String, int)
- Get an integer from a ResourceBundle.
-
getResourceString(String)
- Get a string from a ResourceBundle.
-
init()
- Reads the applet parameters host, port, and font.
-
main(String[])
- Starts a Mudsy as an application.
Mudsy
public Mudsy()
init
public void init()
- Reads the applet parameters host, port, and font.
- Overrides:
- init in class Applet
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.
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
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
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