info.aduna.gee.publication.servlets.util
Class ZpadConfUtil
java.lang.Object
info.aduna.gee.publication.servlets.util.ZpadConfUtil
public class ZpadConfUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_errorsPerHost
protected static HashMap _errorsPerHost
ZpadConfUtil
public ZpadConfUtil()
refresh
public static void refresh(String host)
getInt
public static int getInt(String host,
String key,
int minValue,
int maxValue,
int defValue)
- Parameters:
host - the virtual hostkey - the keyminValue - the minimum allowed (inclusive) valuemaxValue - the maximum allowed (inclusive) valuedefValue - the default value
- Returns:
- the integer value set in the configuration file for key.
getBoolean
public static boolean getBoolean(String host,
String key,
boolean defValue)
- Parameters:
host - the virtual hostkey - the keydefValue - the default value
- Returns:
- the boolean value set in the configuration file for key.
getString
public static String getString(String host,
String key,
String defValue)
- Parameters:
host - the virtual hostkey - the keydefValue - the default value
- Returns:
- the String value set in the configuration file for key.
ensureErrorsLoaded
public static HashSet ensureErrorsLoaded(String host)
Copyright © 1997-2008 Aduna. All Rights Reserved.