org.cyberiantiger.mudclient.config
Class ClientConfiguration

java.lang.Object
  extended byorg.cyberiantiger.mudclient.config.ClientConfiguration

public class ClientConfiguration
extends java.lang.Object


Field Summary
static java.lang.String CURRENT_VIEW
           
static java.lang.String DEFAULT_VIEW
           
 
Constructor Summary
ClientConfiguration()
           
 
Method Summary
 java.lang.String getDefaultOutputName()
          Get the name of the default output
 java.lang.String getHost()
          Get the hostname to connect to
 javax.swing.InputMap getKeyBindings()
          Get a map of key name to action name
 OutputConfiguration getOutputConfiguration(java.lang.String name)
          Get the OutputConfiguration for a specific Output
 java.util.Set getOutputFor(java.lang.String msgClass)
          Get the list of outputs which a message of type msgClass should be sent to.
 java.util.List getOutputNames()
          Get the list of output names.
 int getPort()
          Get the port to connect to
 java.lang.String getTerminalType()
          Get the terminal type to send to the mud
 void load(java.io.InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_VIEW

public static final java.lang.String DEFAULT_VIEW
See Also:
Constant Field Values

CURRENT_VIEW

public static final java.lang.String CURRENT_VIEW
See Also:
Constant Field Values
Constructor Detail

ClientConfiguration

public ClientConfiguration()
Method Detail

load

public void load(java.io.InputStream in)
          throws java.io.IOException
Throws:
java.io.IOException

getHost

public java.lang.String getHost()
Get the hostname to connect to


getPort

public int getPort()
Get the port to connect to


getTerminalType

public java.lang.String getTerminalType()
Get the terminal type to send to the mud


getDefaultOutputName

public java.lang.String getDefaultOutputName()
Get the name of the default output


getOutputNames

public java.util.List getOutputNames()
Get the list of output names.


getOutputConfiguration

public OutputConfiguration getOutputConfiguration(java.lang.String name)
Get the OutputConfiguration for a specific Output


getOutputFor

public java.util.Set getOutputFor(java.lang.String msgClass)
Get the list of outputs which a message of type msgClass should be sent to.


getKeyBindings

public javax.swing.InputMap getKeyBindings()
Get a map of key name to action name



Copyright © 2003 OSJava. All Rights Reserved.