public interface LicenseCodec
Modifier and Type | Method and Description |
---|---|
License |
decode(String key)
Decodes the specified license key into a license object.
|
String |
encode(License license)
Encodes the specified license data into an external license key.
|
License decode(String key)
key
- license keyNullPointerException
- if the license key is nullIllegalArgumentException
- if the license key is not validString encode(License license)
license
- license dataNullPointerException
- if the license object is nullIllegalArgumentException
- if the license object is not validCopyright © 2016. All Rights Reserved.