com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class License



  • public final class License
    extends Object

    Represents GroupDocs.Metadata license.


     This example demonstrates how to setup license.
     
                 
     // initialize License class
     License license = new License();
     // set path to .lic file
     license.SetLicense(@"C:\\GroupDocs.Metadata.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.