Package org.apache.guacamole.properties
Class TimeZoneGuacamoleProperty
- java.lang.Object
-
- org.apache.guacamole.properties.TimeZoneGuacamoleProperty
-
- All Implemented Interfaces:
GuacamoleProperty<TimeZone>
public abstract class TimeZoneGuacamoleProperty extends Object implements GuacamoleProperty<TimeZone>
A GuacamoleProperty whose value is a TimeZone.
-
-
Constructor Summary
Constructors Constructor Description TimeZoneGuacamoleProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeZone
parseValue(String value)
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
-
-
-
-
Field Detail
-
GMT_REGEX
public static final Pattern GMT_REGEX
A regex that matches valid variants of GMT timezones.
-
-
Method Detail
-
parseValue
public TimeZone parseValue(String value) 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<TimeZone>
- 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.
-
-