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, toTypedProperties
list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
public LegacyKeySupportTypedProperties(Properties p, Map<String,String> legacyKeyMapping)
public String getProperty(String key)
getProperty
in class Properties
public String getProperty(String key, String defaultValue)
getProperty
in class Properties
public int getIntProperty(String key, int defaultValue)
getIntProperty
in class TypedProperties
public long getLongProperty(String key, long defaultValue)
getLongProperty
in class TypedProperties
public boolean getBooleanProperty(String key, boolean defaultValue)
getBooleanProperty
in class TypedProperties
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.