Package com.ongres.scram.common
Class ScramAttributeValue
java.lang.Object
com.ongres.scram.common.StringWritable
com.ongres.scram.common.AbstractCharAttributeValue<ScramAttributes>
com.ongres.scram.common.ScramAttributeValue
Parse and write SCRAM Attribute-Value pairs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetValue()static ScramAttributeValueParses a potential ScramAttributeValue String.Methods inherited from class com.ongres.scram.common.AbstractCharAttributeValue
getChar, writeTo
-
Constructor Details
-
ScramAttributeValue
-
-
Method Details
-
getValue
- Overrides:
getValuein classAbstractCharAttributeValue<ScramAttributes>
-
parse
Parses a potential ScramAttributeValue String.- Parameters:
value- The string that contains the Attribute-Value pair.- Returns:
- The parsed class
- Throws:
ScramParseException- If the argument is empty or an invalid Attribute-Value
-