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, int type, byte[] data)
StringAttribute(Dictionary dictionary, int vendorId, int 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
encode, equals, getDictionary, getTag, getType, getValue, getVendorId, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.tinyradius.core.attribute.type.RadiusAttribute
decode, flatten, getAttributeName, getAttributeTemplate, getTagBytes, isEncoded, toByteArray
-
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.
-