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.
  • Constructor Details

    • StringListProperty

      public StringListProperty()
      Deprecated.
  • Method Details

    • parseValue

      public List<String> parseValue(String values) throws org.apache.guacamole.GuacamoleException
      Deprecated.
      Description copied from interface: GuacamoleProperty
      Parses the given string value into the type associated with this GuacamoleProperty.
      Specified by:
      parseValue in interface GuacamoleProperty<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.