|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.jboss.metatype.api.values.PropertiesMetaValue
public class PropertiesMetaValue
A mapping from the jdk Properties to a MetaValue
Field Summary |
---|
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
clear, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertiesMetaValue()
public PropertiesMetaValue(Properties props)
#wrap(Properties)
.
props
- - default propertiespublic PropertiesMetaValue(Properties props, PropertiesMetaType type)
#wrap(Properties)
.
props
- - default propertiestype
- - the propertiesMethod Detail |
---|
public static PropertiesMetaValue wrap(Map<String,String> props)
props
- - the Properties to copy
public PropertiesMetaType getMetaType()
MetaValue
getMetaType
in interface MetaValue
public MetaValue clone()
MetaValue
clone
in interface MetaValue
clone
in class Hashtable<Object,Object>
|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |