com.groupdocs.search.legacy

Interfaces

Classes

Exceptions

com.groupdocs.search.legacy

Class License


  • Deprecated. 
    This class is deprecated and will be available until January 2020 (version 20.1).

    @Deprecated
    public final class License
    extends Object

    Represents the component license.


     The example demonstrates how to setup license.
     
     License license = new License();
     license.setLicense("C:\\License.lic");
     

    • Constructor Detail

      • License

        public License()
        Deprecated. 

        Initializes a new instance of the License class.

    • Method Detail

      • setLicense

        public final void setLicense(String filePath)
        Deprecated. 

        Licenses the component.

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

        public final void setLicense(InputStream stream)
        Deprecated. 

        Licenses the component.

        Parameters:
        stream - License stream.