Package com.ongres.scram.common
Class ScramAttributeValue
java.lang.Object
com.ongres.scram.common.util.AbstractStringWritable
com.ongres.scram.common.util.AbstractCharAttributeValue
com.ongres.scram.common.ScramAttributeValue
- All Implemented Interfaces:
CharAttribute,CharAttributeValue,StringWritable
Parse and write SCRAM Attribute-Value pairs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScramAttributeValueParses a potential ScramAttributeValue String.static StringBufferwriteTo(StringBuffer sb, ScramAttributes attribute, String value) Methods inherited from class com.ongres.scram.common.util.AbstractCharAttributeValue
getChar, getValue, writeToMethods inherited from class com.ongres.scram.common.util.AbstractStringWritable
toString
-
Constructor Details
-
ScramAttributeValue
-
-
Method Details
-
writeTo
-
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
-