Package org.apache.guacamole.properties
Interface GuacamoleProperty<Type>
-
- Type Parameters:
Type
- The type this GuacamoleProperty will parse into.
- All Known Implementing Classes:
BooleanGuacamoleProperty
,ByteArrayProperty
,EnumGuacamoleProperty
,FileGuacamoleProperty
,IntegerGuacamoleProperty
,LongGuacamoleProperty
,StringGuacamoleProperty
,StringListProperty
,TimeZoneGuacamoleProperty
,URIGuacamoleProperty
public interface GuacamoleProperty<Type>
An abstract representation of a property in the guacamole.properties file, which parses into a specific type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the name of the property in guacamole.properties that this GuacamoleProperty will parse.Type
parseValue(String value)
Parses the given string value into the type associated with this GuacamoleProperty.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of the property in guacamole.properties that this GuacamoleProperty will parse.- Returns:
- The name of the property in guacamole.properties that this GuacamoleProperty will parse.
-
parseValue
Type parseValue(String value) throws org.apache.guacamole.GuacamoleException
Parses the given string value into the type associated with this GuacamoleProperty.- Parameters:
value
- The string value to parse.- Returns:
- The parsed value.
- Throws:
org.apache.guacamole.GuacamoleException
- If an error occurs while parsing the provided value.
-
-