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 ScramAttributeValue
Parses a potential ScramAttributeValue String.static StringBuffer
writeTo
(StringBuffer sb, ScramAttributes attribute, String value) Methods inherited from class com.ongres.scram.common.util.AbstractCharAttributeValue
getChar, getValue, writeTo
Methods 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
-