Package org.apache.guacamole.properties
Class StringListProperty
java.lang.Object
org.apache.guacamole.properties.StringListProperty
- All Implemented Interfaces:
GuacamoleProperty<List<String>>
@Deprecated
public abstract class StringListProperty
extends Object
implements GuacamoleProperty<List<String>>
Deprecated.
This class is now deprecated in favor of using the StringGuacamoleProperty
class with the parseValueCollection method.
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.
-
Field Summary
Fields inherited from interface org.apache.guacamole.properties.GuacamoleProperty
DELIMITER_PATTERN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseValue
(String values) Deprecated.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, parseValueCollection
-
Constructor Details
-
StringListProperty
public StringListProperty()Deprecated.
-
-
Method Details
-
parseValue
Deprecated.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.
-