ter.SDK
Class PluginSettings

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--ter.SDK.PluginSettings
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class PluginSettings
extends java.util.Hashtable

Title: Class Plugin settings

Description: Stores the settings of the plugins (which plugin shoud be asciotated to a type of plugin)

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Jerôme GAHIDE - Lucas CHARBIT - Gabriel ZERBIB - Xavier GALBOIS
See Also:
Serialized Form

Constructor Summary
PluginSettings()
          Default constructor
 
Method Summary
 java.lang.Class get(int type)
          gets the class for the type type
 java.lang.Class get(java.lang.Integer type)
          gets the class for the type type
 void put(int type, java.lang.Class c)
          sets this class c for the type type
 void put(java.lang.Integer type, java.lang.Class c)
          sets this class c for the type type
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginSettings

public PluginSettings()
Default constructor

Method Detail

put

public void put(int type,
                java.lang.Class c)
sets this class c for the type type

Parameters:
type - the type
c - the class (a Plugin)
See Also:
PluginTypes

put

public void put(java.lang.Integer type,
                java.lang.Class c)
sets this class c for the type type

Parameters:
type - the type
c - the class (a Plugin)
See Also:
PluginTypes

get

public java.lang.Class get(int type)
gets the class for the type type

Parameters:
type - the type
Returns:
the corresponding class

get

public java.lang.Class get(java.lang.Integer type)
gets the class for the type type

Parameters:
type - the type
Returns:
the corresponding class