Class 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 Detail

      • StringListProperty

        public StringListProperty()
    • 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 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.