|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.guacamole.properties.GuacamoleProperties
public class GuacamoleProperties
Simple utility class for reading properties from the guacamole.properties file in the root of the classpath.
Field Summary | |
---|---|
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. |
Method Summary | ||
---|---|---|
static
|
getProperty(GuacamoleProperty<Type> property)
Given a GuacamoleProperty, parses and returns the value set for that property in guacamole.properties, if any. |
|
static
|
getRequiredProperty(GuacamoleProperty<Type> property)
Given a GuacamoleProperty, parses and returns the value set for that property in guacamole.properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final StringGuacamoleProperty GUACD_HOSTNAME
public static final IntegerGuacamoleProperty GUACD_PORT
Method Detail |
---|
public static <Type> Type getProperty(GuacamoleProperty<Type> property) throws GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.
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 GuacamoleException
Type
- The type that the given property is parsed into.property
- The property to read from guacamole.properties.
GuacamoleException
- If an error occurs while parsing the value
for the given property in
guacamole.properties, or if the property is
not specified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |