Class LicenseUtils


  • public class LicenseUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String decodeBase64License​(java.lang.String data)  
      static java.lang.String decodeIfNecessary​(java.lang.String text)  
      static boolean isBase64License​(java.lang.String licenseText)  
      static byte[] readKey​(java.lang.String data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)