Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.jopendocument.util
Class SystemUtils.PropertyList

java.lang.Object
 extended by 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

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

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. "|".
Method Detail

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)

Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 jOpenDocument All Rights Reserved.

AltStyle によって変換されたページ (->オリジナル) /