|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.wimpi.telnetd.io.terminal.TerminalManager
Class that manages all available terminal implementations.
Configuration is stored in a properties file
(normally Terminals.properties).
Method Summary | |
static TerminalManager |
createTerminalManager(java.util.Properties settings)
Factory method for creating the Singleton instance of this class. |
java.lang.String[] |
getAvailableTerminals()
|
static TerminalManager |
getReference()
Accessor method for the Singleton instance of this class. |
Terminal |
getTerminal(java.lang.String key)
Returns a reference to a terminal that has been set up, regarding to the key given as parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Terminal getTerminal(java.lang.String key)
key
- String that represents a terminal name or an alias.
public java.lang.String[] getAvailableTerminals()
public static TerminalManager createTerminalManager(java.util.Properties settings) throws BootException
settings
- Properties defining the terminals as described in the
class documentation.
BootException
public static TerminalManager getReference()
|
TelnetD at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |