public class ScramAttributeValue extends AbstractCharAttributeValue
Constructor and Description |
---|
ScramAttributeValue(ScramAttributes attribute,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
static ScramAttributeValue |
parse(java.lang.String value)
Parses a potential ScramAttributeValue String.
|
static java.lang.StringBuffer |
writeTo(java.lang.StringBuffer sb,
ScramAttributes attribute,
java.lang.String value) |
getChar, getValue, writeTo
toString
public ScramAttributeValue(ScramAttributes attribute, java.lang.String value)
public static java.lang.StringBuffer writeTo(java.lang.StringBuffer sb, ScramAttributes attribute, java.lang.String value)
public static ScramAttributeValue parse(java.lang.String value) throws ScramParseException
value
- The string that contains the Attribute-Value pair.ScramParseException
- If the argument is empty or an invalid Attribute-Value