public interface BasicService
BasicService
インタフェースは、アプリケーションがオフライン・モードで実行されている場合のアプリケーションのコード・ベースへのアクセスと、指定されたプラットフォームでのネイティブ・ブラウザとの簡単な対話を提供します。
このインタフェースは、一見するとAppletContext
機能に似ています。
修飾子と型 | メソッドと説明 |
---|---|
java.net.URL |
getCodeBase()
アプリケーションのコード・ベースを返します。
|
boolean |
isOffline()
システムがオフラインかどうかを判定します。
|
boolean |
isWebBrowserSupported()
Webブラウザが現在のプラットフォーム上で指定されたJNLPクライアントによってサポートされているかどうかを確認します。
|
boolean |
showDocument(java.net.URL url)
クライアント上のブラウザに指定したURLを表示するように指示します。
|
java.net.URL getCodeBase()
boolean isOffline()
true
、そうでない場合はfalse
boolean showDocument(java.net.URL url)
url
- ドキュメントの位置を示すURL。相対URLの基準はコード・ベース。true
、url
がnullか要求の処理に失敗した場合はfalse
。boolean isWebBrowserSupported()
showDocument(java.net.URL)
は常にfalse
を返します。true
、そうでない場合はfalse
Copyright © 1998, 2020, Oracle and/or its affiliates. All rights reserved.