License

Inheritance: java.lang.Object

public final class License

Represents the component license.

Constructors

Constructor Description
License() Initializes a new instance of the License class.

Methods

Method Description
setLicense(String filePath) Licenses the component.
setLicense(InputStream stream) Licenses the component.

License()

public License()

Initializes a new instance of the License class.

setLicense(String filePath)

public final void setLicense(String filePath)

Licenses the component.

Parameters:

Parameter Type Description
filePath java.lang.String The absolute path to license file.

setLicense(InputStream stream)

public final void setLicense(InputStream stream)

Licenses the component.

Parameters:

Parameter Type Description
stream java.io.InputStream A stream containing a valid license.