org.jopendocument.util
Class SystemUtils.PropertyList
java.lang.Object
org.jopendocument.util.SystemUtils.PropertyList
- Enclosing class:
- SystemUtils
public static final class SystemUtils.PropertyList
- extends Object
Wrap a system property and view it as a list.
- Author:
- Sylvain CUAZ
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemUtils.PropertyList
public SystemUtils.PropertyList(String name,
String sep)
- Create a new instance.
- Parameters:
name
- name of the property, e.g. "java.protocol.handler.pkgs".sep
- the separator used, e.g. "|".
getName
public final String getName()
getValue
public final String getValue()
getValues
public final List<String> getValues()
add
public final boolean add(String value)
- Adds a value to the system property list if not already present.
- Parameters:
value
- the value to add, e.g. "sun.net.www.protocol".
- Returns:
true
if the property was modified.
add
public final boolean add(String value,
boolean append)
Copyright © 2010 jOpenDocument All Rights Reserved.