com.aspose.slides
Class License

java.lang.Object
  extended by com.aspose.slides.License

public class License
extends java.lang.Object

Provides methods to license the component.


Constructor Summary
License()
          Initializes a new instance of this class.
 
Method Summary
static java.lang.String getVersion()
          Returns version of Aspose.Slides for Java.
 void setLicense(java.io.InputStream stream)
          Licenses the component.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

License

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

Method Detail

setLicense

public void setLicense(java.io.InputStream stream)
                throws com.aspose.slides.license.AsposeLicenseException
Licenses the component.

Parameters:
stream - A stream that contains the license. Use null to switch to evaluation mode.
Throws:
com.aspose.slides.license.AsposeLicenseException

getVersion

public static java.lang.String getVersion()
Returns version of Aspose.Slides for Java.