com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

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

      • isLicenseSet

        public static boolean isLicenseSet()
        Checks whether valid license has been set.
        Returns:
        true if valid license has been set.
      • getSubscriptionExpireDate

        public static Date getSubscriptionExpireDate()
        Gets the last date of the subscription.
        Returns:
        the last date of the subscription.
      • setLicense

        public void setLicense(InputStream stream)
        Licenses the component.
        Parameters:
        stream - A stream that contains the license. Use null to switch to evaluation mode.
      • setLicense

        public void setLicense(String licenseFileName)
      • setLicense

        public void setLicense(Reader reader)
        Licenses the component.
        Parameters:
        reader - A reader that contains the license. Use null to switch to evaluation mode.