Licentie

Inheritance: java.lang.Object

public class License

Biedt methoden om het component te licentiëren.

Constructors

ConstructorBeschrijving
License()Initialiseert een nieuw exemplaar van deze klasse.

Methoden

MethodeBeschrijving

| 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:

ParameterTypeBeschrijving
licenseFilejava.io.Filerepresentatie van het bestandspad

setLicense(InputStream stream)

public static void setLicense(InputStream stream)

Licentieert het component.

Parameters:

ParameterTypeBeschrijving
streamjava.io.InputStreamEen stream die de licentie bevat.

setLicense(String licenseFilePath)

public static void setLicense(String licenseFilePath)

Licentieert het component.

Parameters:

ParameterTypeBeschrijving
licenseFilePathjava.lang.StringKan 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.