Licence

Inheritance: java.lang.Object

public class License

Fournit des méthodes pour licencier le composant.

Pour en savoir plus, consultez l’article de documentation Licensing and Subscription.

Constructeurs

ConstructeurDescription
License()Initialise une nouvelle instance de cette classe.

Méthodes

MéthodeDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
setLicense(InputStream stream)Licence le composant.
setLicense(String licenseName)Licence le composant.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

License()

public License()

Initialise une nouvelle instance de cette classe.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParamètreTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setLicense(InputStream stream)

public void setLicense(InputStream stream)

Licence le composant.

Utilisez cette méthode pour charger une licence à partir d’un flux.

Parameters:

ParamètreTypeDescription
fluxjava.io.InputStreamUn flux qui contient la licence.

setLicense(String licenseName)

public void setLicense(String licenseName)

Licence le composant.

Essaye de trouver la licence aux emplacements suivants :

  1. Chemin explicite.

  2. Le dossier qui contient le fichier JAR du composant Aspose.

  3. Le dossier qui contient le fichier JAR appelé par le client.

Parameters:

ParamètreTypeDescription
licenseNamejava.lang.StringPeut être un nom de fichier complet ou court. Utilisez une chaîne vide pour passer en mode d’évaluation.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int