Package com.ongres.scram.common.gssapi
Class Gs2AttributeValue
java.lang.Object
com.ongres.scram.common.util.AbstractStringWritable
com.ongres.scram.common.util.AbstractCharAttributeValue
com.ongres.scram.common.gssapi.Gs2AttributeValue
- All Implemented Interfaces:
CharAttribute
,CharAttributeValue
,StringWritable
Parse and write GS2 Attribute-Value pairs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Gs2AttributeValue
Parses a potential Gs2AttributeValue String.static StringBuffer
writeTo
(StringBuffer sb, Gs2Attributes 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
-
Gs2AttributeValue
-
-
Method Details
-
writeTo
-
parse
Parses a potential Gs2AttributeValue String.- Parameters:
value
- The string that contains the Attribute-Value pair (where value is optional).- Returns:
- The parsed class, or null if the String was null.
- Throws:
IllegalArgumentException
- If the String is an invalid Gs2AttributeValue
-