Package org.apache.guacamole.properties
Class StringListProperty
- java.lang.Object
-
- org.apache.guacamole.properties.StringListProperty
-
- All Implemented Interfaces:
GuacamoleProperty<List<String>>
public abstract class StringListProperty extends Object implements GuacamoleProperty<List<String>>
A GuacamoleProperty whose value is a List of Strings. The string value parsed to produce this list is a comma-delimited list. Duplicate values are ignored, as is any whitespace following delimiters. To maintain compatibility with the behavior of Java properties in general, only whitespace at the beginning of each value is ignored; trailing whitespace becomes part of the value.
-
-
Constructor Summary
Constructors Constructor Description StringListProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
parseValue(String values)
Parses the given string value into the type associated with this GuacamoleProperty.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.guacamole.properties.GuacamoleProperty
getName
-
-
-
-
Method Detail
-
parseValue
public List<String> parseValue(String values) throws org.apache.guacamole.GuacamoleException
Description copied from interface:GuacamoleProperty
Parses the given string value into the type associated with this GuacamoleProperty.- Specified by:
parseValue
in interfaceGuacamoleProperty<List<String>>
- Parameters:
values
- The string value to parse.- Returns:
- The parsed value.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while parsing the provided value.
-
-