public class GuacamoleProperties extends Object
Modifier and Type | Field and Description |
---|---|
static StringGuacamoleProperty |
GUACD_HOSTNAME
The hostname of the server where guacd (the Guacamole proxy server) is
running.
|
static IntegerGuacamoleProperty |
GUACD_PORT
The port that guacd (the Guacamole proxy server) is listening on.
|
Modifier and Type | Method and Description |
---|---|
static <Type> Type |
getProperty(GuacamoleProperty<Type> property)
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties, if any.
|
static <Type> Type |
getProperty(GuacamoleProperty<Type> property,
Type defaultValue)
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties, if any.
|
static <Type> Type |
getRequiredProperty(GuacamoleProperty<Type> property)
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties.
|
public static final StringGuacamoleProperty GUACD_HOSTNAME
public static final IntegerGuacamoleProperty GUACD_PORT
public static <Type> Type getProperty(GuacamoleProperty<Type> property) throws net.sourceforge.guacamole.GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.net.sourceforge.guacamole.GuacamoleException
- If an error occurs while parsing the value
for the given property in
guacamole.properties.public static <Type> Type getProperty(GuacamoleProperty<Type> property, Type defaultValue) throws net.sourceforge.guacamole.GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.defaultValue
- The value to return if no value was given in
guacamole.properties.net.sourceforge.guacamole.GuacamoleException
- If an error occurs while parsing the value
for the given property in
guacamole.properties.public static <Type> Type getRequiredProperty(GuacamoleProperty<Type> property) throws net.sourceforge.guacamole.GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.net.sourceforge.guacamole.GuacamoleException
- If an error occurs while parsing the value
for the given property in
guacamole.properties, or if the property is
not specified.Copyright © 2013. All Rights Reserved.