public class PropertiesMetaValue extends Properties implements MetaValue
defaults| Constructor and Description |
|---|
PropertiesMetaValue()
Creates an empty PropertiesMetaValue
|
PropertiesMetaValue(Properties props)
Create a PropertiesMetaValue with props as the defaults.
|
PropertiesMetaValue(Properties props,
PropertiesMetaType type)
Create a PropertiesMetaValue with props as the defaults.
|
| Modifier and Type | Method and Description |
|---|---|
MetaValue |
clone()
Clone the meta value
|
PropertiesMetaType |
getMetaType()
Get the metatype for this value
|
static PropertiesMetaValue |
wrap(Map<String,String> props)
Build a PropertiesMetaValue from a Properties by copying all key/value
pairs from props into the new PropertiesMetaValue.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamespublic PropertiesMetaValue()
public PropertiesMetaValue(Properties props)
#wrap(Properties).props - - default propertiespublic PropertiesMetaValue(Properties props, PropertiesMetaType type)
#wrap(Properties).props - - default propertiestype - - the propertiespublic static PropertiesMetaValue wrap(Map<String,String> props)
props - - the Properties to copypublic PropertiesMetaType getMetaType()
MetaValuegetMetaType in interface MetaValueCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.