Package com.xebialabs.license
Class LicenseUtils
- java.lang.Object
-
- com.xebialabs.license.LicenseUtils
-
public class LicenseUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringdecodeBase64License(java.lang.String data)static java.lang.StringdecodeIfNecessary(java.lang.String text)static booleanisBase64License(java.lang.String licenseText)static byte[]readKey(java.lang.String data)
-
-
-
Method Detail
-
readKey
public static byte[] readKey(java.lang.String data) throws java.io.IOException- Throws:
java.io.IOException
-
isBase64License
public static boolean isBase64License(java.lang.String licenseText)
-
decodeBase64License
public static java.lang.String decodeBase64License(java.lang.String data)
-
decodeIfNecessary
public static java.lang.String decodeIfNecessary(java.lang.String text)
-
-