net.jetrix.config
Class Configuration
java.lang.Object
net.jetrix.config.Configuration
- Direct Known Subclasses:
- FilterConfig, WinlistConfig
public class Configuration
- extends Object
A generic configuration.
- Version:
- $Revision: 545 $, $Date: 2005-01-05 18:16:04 +0100 (mer., 05 janv. 2005) $
- Author:
- Emmanuel Bourg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
props
protected Properties props
Configuration
public Configuration()
setParameter
public void setParameter(String name,
String value)
getInt
public int getInt(String key,
int defaultValue)
getBoolean
public boolean getBoolean(String key,
boolean defaultValue)
getString
public String getString(String key,
String defaultValue)
getProperties
public Properties getProperties()
- Return the underlying Properties.
- Since:
- 0.2
Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.