Licence
Contenu
[
Cacher
]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
| Constructeur | Description |
|---|---|
| License() | Initialise une nouvelle instance de cette classe. |
Méthodes
| Méthode | Description |
|---|---|
| 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ètre | Type | Description |
|---|---|---|
| arg0 | java.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ètre | Type | Description |
|---|---|---|
| flux | java.io.InputStream | Un flux qui contient la licence. |
setLicense(String licenseName)
public void setLicense(String licenseName)
Licence le composant.
Essaye de trouver la licence aux emplacements suivants :
Chemin explicite.
Le dossier qui contient le fichier JAR du composant Aspose.
Le dossier qui contient le fichier JAR appelé par le client.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| licenseName | java.lang.String | Peut ê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ètre | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |