Packages

 

com.groupdocs.comparison.common.license

Class License



  • public class License
    extends Object

    Class License.

    • Constructor Detail

      • License

        public License()
    • Method Detail

      • isValidLicense

        public static boolean isValidLicense()

        Gets a value indicating whether this instance is valid license.

        Value: true if this instance is valid license; otherwise, false.
        Returns:
        the boolean
      • isValidMeteredLicense

        public static boolean isValidMeteredLicense()

        Gets a value indicating whether this instance is valid metered license.

        Value: true if this instance is valid metered license; otherwise, false.
      • setLicense

        public void setLicense(InputStream licenseStream)
                        throws Exception

        Sets the license.

        Parameters:
        licenseStream - The license stream.
        Throws:
        Exception
      • setLicense

        public void setLicense(String licensePath)

        Sets the license.

        Parameters:
        licensePath - The license path.