License

Inheritance: java.lang.Object

public class License

Provides methods to license the component.

Constructors

Constructor Description
License()

Methods

Method Description
setLicense(InputStream licenseStream) Licenses the component from a stream.
setLicense(String licensePath) Licenses the component from a file path.
set(String licensePath) Sets the license from a file path.
set(InputStream licenseStream) Sets the license from a stream.

License()

public License()

setLicense(InputStream licenseStream)

public void setLicense(InputStream licenseStream)

Licenses the component from a stream.

Parameters:

Parameter Type Description
licenseStream java.io.InputStream license stream

setLicense(String licensePath)

public void setLicense(String licensePath)

Licenses the component from a file path.

Parameters:

Parameter Type Description
licensePath java.lang.String license file path

set(String licensePath)

public static void set(String licensePath)

Sets the license from a file path.

Parameters:

Parameter Type Description
licensePath java.lang.String path to license file

set(InputStream licenseStream)

public static void set(InputStream licenseStream)

Sets the license from a stream.

Parameters:

Parameter Type Description
licenseStream java.io.InputStream stream that contains the license