com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class License

  • java.lang.Object
    • com.aspose.threed.License


  • public class License
    extends java.lang.Object
    Provides methods to license the component.
    • Constructor Summary

      Constructors 
      Constructor and Description
      License()
      Initializes a new instance of this class.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.Date getSubscriptionExpireDate()
      Gets the last date of the subscription.
      static boolean isLicenseSet()
      Checks whether valid license has been set.
      void setLicense(java.io.InputStream stream)
      Licenses the component.
      void setLicense(java.io.Reader reader)
      Licenses the component.
      void setLicense(java.lang.String licenseFileName) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.util.Date getSubscriptionExpireDate()
        Gets the last date of the subscription.
        Returns:
        the last date of the subscription.
      • setLicense

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

        public void setLicense(java.lang.String licenseFileName)
      • setLicense

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