Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

com.aspose.imaging

Class License



  • public class License
    extends Object
    Provides methods to license the component.
    • Constructor Detail

      • License

        public License()
        Initializes a new instance of this class.
    • Method Detail

      • setLicense

        public void setLicense(String licenseName)
        Licenses the component.
        Parameters:
        licenseName - Can be a full or short file name Use an empty string to switch to evaluation mode.
      • setLicense

        public void setLicense(InputStream stream)
        Licenses the component.
        Parameters:
        stream - A stream that contains the license.
      • setLicense

        public void setLicense(File licenseFile)
        Licenses the component.
        Parameters:
        licenseFile - representation of file pathname