Package org.apache.guacamole.properties
Class ByteArrayProperty
- java.lang.Object
-
- org.apache.guacamole.properties.ByteArrayProperty
-
- All Implemented Interfaces:
GuacamoleProperty<byte[]>
public abstract class ByteArrayProperty extends Object implements GuacamoleProperty<byte[]>
A GuacamoleProperty whose value is a byte array. The bytes of the byte array must be represented as a hexadecimal string within the property value. The hexadecimal string is case-insensitive.
-
-
Constructor Summary
Constructors Constructor Description ByteArrayProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
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
-
-
-
-
Method Detail
-
parseValue
public byte[] 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<byte[]>
- 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.
-
-