Licentie
inhoud
[
verbergen
]Inheritance: java.lang.Object
public class License
Biedt methoden om het component te licentiëren.
Constructors
| Constructor | Beschrijving |
|---|---|
| License() | Initialiseert een nieuw exemplaar van deze klasse. |
Methoden
| Methode | Beschrijving |
|---|
| setLicense(File licenseFile) | Licentieert het component. | | setLicense(InputStream stream) | Licentieert het component. | | setLicense(String licenseFilePath) | Licentieert het component. | | isValid() | Controleer licentie. |
License()
public License()
Initialiseert een nieuw exemplaar van deze klasse.
setLicense(File licenseFile)
public static void setLicense(File licenseFile)
Licentieert het component.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| licenseFile | java.io.File | representatie van het bestandspad |
setLicense(InputStream stream)
public static void setLicense(InputStream stream)
Licentieert het component.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| stream | java.io.InputStream | Een stream die de licentie bevat. |
setLicense(String licenseFilePath)
public static void setLicense(String licenseFilePath)
Licentieert het component.
Parameters:
| Parameter | Type | Beschrijving |
|---|---|---|
| licenseFilePath | java.lang.String | Kan een volledige of korte bestandsnaam zijn. Gebruik een lege string om over te schakelen naar evaluatiemodus. |
isValid()
public static boolean isValid()
Controleer licentie.
Returns: boolean - Booleaanse waarde licentie is geldig.