ライセンス

Inheritance: java.lang.Object

public class License

コンポーネントをライセンスするためのメソッドを提供します。

詳細を知りたい場合は、Licensing and Subscription のドキュメント記事をご覧ください。

コンストラクタ

コンストラクタ説明
License()このクラスの新しいインスタンスを初期化します。

メソッド

メソッド説明
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
setLicense(InputStream stream)コンポーネントにライセンスを付与します。
setLicense(String licenseName)コンポーネントにライセンスを付与します。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

License()

public License()

このクラスの新しいインスタンスを初期化します。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

パラメーター説明
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)

コンポーネントにライセンスを付与します。

このメソッドを使用して、ストリームからライセンスをロードします。

Parameters:

パラメーター説明
ストリームjava.io.InputStreamライセンスを含むストリーム。

setLicense(String licenseName)

public void setLicense(String licenseName)

コンポーネントにライセンスを付与します。

次の場所でライセンスを検索します:

  1. 明示的なパス。

  2. Aspose コンポーネントの JAR ファイルが含まれるフォルダー。

  3. クライアントの呼び出し JAR ファイルが含まれるフォルダー。

Parameters:

パラメーター説明
licenseNamejava.lang.String完全なファイル名または短いファイル名を指定できます。空文字列を使用すると評価モードに切り替わります。

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

パラメーター説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメーター説明
arg0long
arg1int