com.groupdocs.comparison.license

Class License



  • public class License
    extends Object

    Provides methods to license the component. Learn more about licensing here

    • 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.
      • 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 final void setLicense(InputStream licenseStream)

        Licenses the component.

        Parameters:
        licenseStream - The license stream.
      • setLicense

        public final void setLicense(String licensePath)

        Licenses the component.

        Parameters:
        licensePath - The license path.
      • setMeteredLicense

        public final void setMeteredLicense()

        Sets the metered license.