public class LegacyKeySupportTypedProperties extends TypedProperties
defaults| Constructor and Description |
|---|
LegacyKeySupportTypedProperties(Map<String,String> legacyKeyMapping) |
LegacyKeySupportTypedProperties(Properties p,
Map<String,String> legacyKeyMapping) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanProperty(String key,
boolean defaultValue) |
int |
getIntProperty(String key,
int defaultValue) |
long |
getLongProperty(String key,
long defaultValue) |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
getBooleanProperty, getIntProperty, getLongProperty, getProperty, setProperty, toTypedPropertieslist, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNamespublic LegacyKeySupportTypedProperties(Properties p, Map<String,String> legacyKeyMapping)
public String getProperty(String key)
getProperty in class Propertiespublic String getProperty(String key, String defaultValue)
getProperty in class Propertiespublic int getIntProperty(String key, int defaultValue)
getIntProperty in class TypedPropertiespublic long getLongProperty(String key, long defaultValue)
getLongProperty in class TypedPropertiespublic boolean getBooleanProperty(String key, boolean defaultValue)
getBooleanProperty in class TypedPropertiesCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.