public class License extends Object
| Constructor and Description |
|---|
License()
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setLicense(File licenseFile)
Licenses the component.
|
void |
setLicense(InputStream stream)
Licenses the component.
|
void |
setLicense(String licenseName)
Licenses the component.
|
public void setLicense(File licenseFile) throws Exception
licenseFile - representation of file pathnameExceptionpublic void setLicense(InputStream stream) throws Exception
stream - A stream that contains the license.ExceptionCopyright © 2014. All rights reserved.