|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object extended by org.jopendocument.util.SystemUtils.PropertyList
public static final class SystemUtils.PropertyList
Wrap a system property and view it as a list.
| Constructor Summary | |
|---|---|
SystemUtils.PropertyList(String name,
String sep)
Create a new instance. |
|
| Method Summary | |
|---|---|
boolean |
add(String value)
Adds a value to the system property list if not already present. |
boolean |
add(String value,
boolean append)
|
String |
getName()
|
String |
getValue()
|
List<String> |
getValues()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemUtils.PropertyList(String name, String sep)
name - name of the property, e.g. "java.protocol.handler.pkgs".sep - the separator used, e.g. "|".| Method Detail |
|---|
public final String getName()
public final String getValue()
public final List<String> getValues()
public final boolean add(String value)
value - the value to add, e.g. "sun.net.www.protocol".
true if the property was modified.public final boolean add(String value, boolean append)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||