| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.property.Property
Provides shorter method names for working with the PropertyManager.
| Constructor Summary | |
| Property() | |
| Method Summary | |
| static void | addListener(PropertyListener listener)Add a property listener | 
| static void | addListeners(PropertyListener[] listeners)Add an array of property listeners | 
| static boolean | exists(String name)Check if a property of the given name exists. | 
| static String | get(String name)Get a property | 
| static String | get(String name,
    String defaultValue)Get a property | 
| static String[] | getArray(String name)Get an array style property | 
| static String[] | getArray(String base,
         String[] defaultValues)Get an array style property | 
| static PropertyGroup | getGroup(String basename)Get a property group for the given property base | 
| static PropertyGroup | getGroup(String basename,
         int index)Get a property group for the given property base at the given index | 
| static String | remove(String name)Remove a property | 
| static boolean | removeListener(PropertyListener listener)Remove a property listener | 
| static String | set(String name,
    String value)Set a property | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Property()
| Method Detail | 
public static void addListener(PropertyListener listener)
listener - Property listener to addpublic static void addListeners(PropertyListener[] listeners)
listeners - Array of property listeners to addpublic static boolean removeListener(PropertyListener listener)
listener - Property listener to remove
public static String set(String name, String value)
name - Property namevalue - Property value
public static String remove(String name)
name - Property name
public static String get(String name, String defaultValue)
name - Property namedefaultValue - Default property value
public static String get(String name)
name - Property name
public static String[] getArray(String base, String[] defaultValues)
base - Base property namedefaultValues - Default property values
public static String[] getArray(String name)
name - Property name
public static boolean exists(String name)
name - Property name
public static PropertyGroup getGroup(String basename)
basename - Base property name
public static PropertyGroup getGroup(String basename, int index)
basename - Base property nameindex - Array property index
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||