com.groupdocs.search.licensing

Class License

  • java.lang.Object
    • com.groupdocs.search.LicenseAssistant
      • com.groupdocs.search.licensing.License


  • public final class License
    extends com.groupdocs.search.LicenseAssistant
    Represents the component license.

    Learn more

    The example demonstrates how to setup license.

     
     License license = new License();
     license.setLicense("C:\\License.lic");
     
     
    • Constructor Detail

      • License

        public License()

        Initializes a new instance of the License class.

    • Method Detail

      • setLicense

        public final void setLicense(String filePath)

        Licenses the component.

        Parameters:
        filePath - Absolute path to license file.
      • setLicense

        public final void setLicense(InputStream stream)

        Licenses the component.

        Parameters:
        stream - License stream.