com.openexchange.admin.tools
Class PropertyHandler
java.lang.Object
com.openexchange.admin.tools.PropertyHandler
public class PropertyHandler
- extends Object
Method Summary |
boolean |
getGroupProp(String key,
boolean fallBack)
|
String |
getGroupProp(String key,
String fallBack)
|
String |
getProp(String key,
String fallBack)
Get String value from Properties-File. |
boolean |
getResourceProp(String key,
boolean fallBack)
|
String |
getResourceProp(String key,
String fallback)
|
int |
getRmiProp(String key,
int fallBack)
|
String |
getSqlProp(String key,
String fallBack)
|
String |
getSysProp(String key,
String fallBack)
|
boolean |
getUserProp(String key,
boolean fallBack)
|
String |
getUserProp(String key,
String fallBack)
|
GROUP_STORAGE
public static final String GROUP_STORAGE
- See Also:
- Constant Field Values
RESOURCE_STORAGE
public static final String RESOURCE_STORAGE
- See Also:
- Constant Field Values
TOOL_STORAGE
public static final String TOOL_STORAGE
- See Also:
- Constant Field Values
USER_STORAGE
public static final String USER_STORAGE
- See Also:
- Constant Field Values
PropertyHandler
public PropertyHandler(Properties sysprops)
getProp
public String getProp(String key,
String fallBack)
- Get String value from Properties-File. If not set or not found, use given fallback!
- Parameters:
key
- fallBack
-
- Returns:
getSysProp
public String getSysProp(String key,
String fallBack)
- Parameters:
key
- fallBack
-
- Returns:
getGroupProp
public String getGroupProp(String key,
String fallBack)
getGroupProp
public boolean getGroupProp(String key,
boolean fallBack)
- Parameters:
key
- fallBack
-
- Returns:
getUserProp
public boolean getUserProp(String key,
boolean fallBack)
- Parameters:
key
- fallBack
-
- Returns:
getUserProp
public String getUserProp(String key,
String fallBack)
- Parameters:
key
- fallBack
-
- Returns:
getResourceProp
public boolean getResourceProp(String key,
boolean fallBack)
- Parameters:
key
- fallBack
-
- Returns:
getRmiProp
public int getRmiProp(String key,
int fallBack)
- Parameters:
key
- fallBack
-
- Returns:
getResourceProp
public String getResourceProp(String key,
String fallback)
getSqlProp
public String getSqlProp(String key,
String fallBack)
- Parameters:
key
- fallBack
-
- Returns: