com.vs.ezlicrun
Class EzLicenseCustomUtil
java.lang.Object
|
+--com.vs.ezlicrun.EzLicenseCustomUtil
- public class EzLicenseCustomUtil
- extends java.lang.Object
Utilities for custom key management. The ISV may use these for
managing its custom key generation and parsing.
Method Summary |
static java.lang.String |
makeString(java.util.HashMap keyVals)
makeString: create a string representation of a hash map
for the purpose of embedding into a custom cookie. |
static java.util.HashMap |
parseString(java.lang.String keyValsString)
parseString: Parse a string representation of a
keyword-value hash map back into a hash map binary
representation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EzLicenseCustomUtil
public EzLicenseCustomUtil()
makeString
public static java.lang.String makeString(java.util.HashMap keyVals)
- makeString: create a string representation of a hash map
for the purpose of embedding into a custom cookie.
- Parameters:
keyVals:
- Hash map of keyword-value pairs.- Returns:
- string representation.
parseString
public static java.util.HashMap parseString(java.lang.String keyValsString)
throws EzLicExceptionBase
- parseString: Parse a string representation of a
keyword-value hash map back into a hash map binary
representation.
- Parameters:
keyValsString:
- string representation of hash map.- Returns:
- hash map representation.
- Throws:
EzLicExceptionBase
- if the string representation is invalid / malformed.