Class StringAttribute
java.lang.Object
org.tinyradius.core.attribute.type.OctetsAttribute
org.tinyradius.core.attribute.type.StringAttribute
- All Implemented Interfaces:
RadiusAttribute
public class StringAttribute extends OctetsAttribute
This class represents a Radius attribute which only contains a string.
-
Constructor Summary
Constructors Constructor Description StringAttribute(Dictionary dictionary, int vendorId, byte type, byte[] data)
StringAttribute(Dictionary dictionary, int vendorId, byte type, java.lang.String value)
-
Method Summary
Modifier and Type Method Description java.lang.String
getValueString()
Methods inherited from class org.tinyradius.core.attribute.type.OctetsAttribute
decode, encode, equals, flatten, getAttributeName, getAttributeTemplate, getDictionary, getTag, getType, getValue, getVendorId, hashCode, toByteArray, toString
-
Constructor Details
-
Method Details
-
getValueString
public java.lang.String getValueString()- Specified by:
getValueString
in interfaceRadiusAttribute
- Overrides:
getValueString
in classOctetsAttribute
- Returns:
- value of this attribute as a hex string.
-