|
||||||||||
| 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 properties
public PropertiesMetaValue(Properties props,
PropertiesMetaType type)
#wrap(Properties).
props - - default propertiestype - - the properties| Method Detail |
|---|
public static PropertiesMetaValue wrap(Map<String,String> props)
props - - the Properties to copy
public PropertiesMetaType getMetaType()
MetaValue
getMetaType in interface MetaValuepublic MetaValue clone()
MetaValue
clone in interface MetaValueclone in class Hashtable<Object,Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||