com.groupdocs.metadata.licensing

Class License



  • public final class License
    extends Object

    Represents the component license.

    • 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 - The absolute path to license file.
      • setLicense

        public final void setLicense(InputStream stream)

        Licenses the component.

        Parameters:
        stream - A stream containing a valid license.