|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.JRcServer.sys.url.JRcServerURLFactory
public class JRcServerURLFactory
JRcServer用URLStreamHandlerFactory.
JRcServer用URLStreamHandlerFactoryを提供します.
また、このメソッドはURLオブジェクトの利用前に
JRcServerURLFactory.mount()を呼び出す必要があります.
| メソッドの概要 | |
|---|---|
void |
addURLStreamHandler(java.lang.String protocol,
java.lang.String className)
対象のURLStreamHandlerを追加. |
void |
clear()
登録情報クリア. |
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
指定されたプロトコルのための、URLStreamHandler の 新しいインスタンスを作成します. |
static JRcServerURLFactory |
getInstance()
オブジェクト情報を取得. |
java.lang.String[] |
getProtocols()
設定プロトコル名群を取得. |
java.lang.String |
getURLStreamHandler(java.lang.String protocol)
対象のURLStreamHandler名を取得. |
boolean |
isProtocol(java.lang.String protocol)
プロトコル存在チェック. |
static boolean |
mount()
マウント処理. |
void |
removeURLStreamHandler(java.lang.String protocol)
対象のURLStreamHandlerを削除. |
int |
size()
設定数を取得. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
|---|
public static final JRcServerURLFactory getInstance()
public static final boolean mount()
public final void clear()
public final java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
java.net.URLStreamHandlerFactory 内の createURLStreamHandlerprotocol - プロトコル (ftp、http、nntp など).
public final void addURLStreamHandler(java.lang.String protocol,
java.lang.String className)
throws InputException,
AccessException
protocol - プロトコルを設定します.className - 対象のClassNameを設定します.
InputException - 入力例外.
AccessException - アクセス例外.public final void removeURLStreamHandler(java.lang.String protocol)
protocol - 削除対象のプロトコルを設定します.public final java.lang.String getURLStreamHandler(java.lang.String protocol)
protocol - 取得対象のプロトコルを設定します.
public final java.lang.String[] getProtocols()
public final int size()
public final boolean isProtocol(java.lang.String protocol)
protocol - チェック対象のプロトコルを設定します.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||