|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectxml.gui.PropertyUtil
public class PropertyUtil
Utility methods for accessing properties. copied from XSLTPlugin: xslt/PropertyUtil.java
| Constructor Summary | |
|---|---|
PropertyUtil()
|
|
| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
getEnumeratedProperty(java.lang.String key)
Returns a List of property values whose keys are identical excepct for a trailing "." and index. |
static void |
setEnumeratedProperty(java.lang.String key,
java.util.List<java.lang.String> values)
Sets a series of property values whose keys are identical excepct for a trailing "." and index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyUtil()
| Method Detail |
|---|
public static java.util.List<java.lang.String> getEnumeratedProperty(java.lang.String key)
key - key of the enumerated property, excluding the trailing "." and
index. I.e., if you have properties "file.0=file0.txt" and
"file.1=file1.txt", calling getEnumeratedProperty("file", properties)
would return a list containing "file0.txt" and "file1.txt".
public static void setEnumeratedProperty(java.lang.String key,
java.util.List<java.lang.String> values)
key - key of the enumerated property (see
getEnumeratedProperty(java.lang.String))values - values to be assigned to the enumerated property, in order.
All members of this List must be Strings.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||