de.mud.jta

Class Common

Implemented Interfaces:
PluginBus

public class Common
extends PluginLoader

The common part of the JTA - Telnet/SSH for the JAVA(tm) platform is handled here. Mainly this includes the loading of the plugins and the screen setup of the visual plugins.

Maintainer: Matthias L. Jugel

Version:
$Id: Common.java 499 2005-09-29 08:24:54Z leo $
Author:
Matthias L. Jugel, Marcus Meissner

Field Summary

static String
DEFAULT_PATH

Fields inherited from class de.mud.jta.PluginLoader

ID

Constructor Summary

Common(Properties config)

Method Summary

Map
getComponents()
Get the list of visual components currently registered.
Map
getMenus()
static Vector
split(String s, char separator)
Split up comma separated lists of strings.

Methods inherited from class de.mud.jta.PluginLoader

addPlugin, broadcast, getPlugins, registerPluginListener, replacePlugin

Field Details

DEFAULT_PATH

public static final String DEFAULT_PATH

Constructor Details

Common

public Common(Properties config)

Method Details

getComponents

public Map getComponents()
Get the list of visual components currently registered.
Returns:
a map of components

getMenus

public Map getMenus()

split

public static Vector split(String s,
                           char separator)
Split up comma separated lists of strings. This is quite strict, no whitespace characters are allowed.
Parameters:
s - the string to be split up
Returns:
an array of strings