public class License extends Object
Constructor and Description |
---|
License()
Initializes a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
setLicense(InputStream stream)
Licenses the component.
|
void |
setLicense(String licenseName)
Licenses the component.
|
public void setLicense(String licenseName) throws Exception
licenseName
- Can be a full or short file name
Use an empty string to switch to evaluation mode.Exception
public void setLicense(InputStream stream) throws Exception
stream
- A stream that contains the license.Exception
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.