|
com.aspose.pdf
Class License
java.lang.Object
com.aspose.pdf.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 boolean |
isEval()
Call this from your component code to check if running evaluation version or not. |
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 |
License
public License()
- Initializes a new instance of this class.
setLicense
public void setLicense(java.io.InputStream stream)
throws java.lang.Exception
- Licenses the component.
- Parameters:
stream - A stream that contains the license. Use null to switch to evaluation mode.
- Throws:
AsposeLicenseException
java.lang.Exception
isEval
public static boolean isEval()
- Call this from your component code to check if running evaluation version or not.
- Returns:
|