|
CDC 1.1.2 | |||||||||
前 次 | フレームあり フレームなし |
UnknownHostException を使用しているパッケージ | |
---|---|
java.net | ネットワークアプリケーションを実装するためのクラスを提供します。 |
java.net での UnknownHostException の使用 |
---|
UnknownHostException をスローする java.net のメソッド | |
---|---|
static InetAddress[] |
InetAddress.getAllByName(String host)
ホスト名を指定すると、システムに設定されているネームサービスに基づいてその IP アドレスの配列を返します。 |
static InetAddress |
InetAddress.getByAddress(byte[] addr)
指定された生の IP アドレスを表す InetAddress オブジェクトを返します。 |
static InetAddress |
InetAddress.getByAddress(String host,
byte[] addr)
指定されたホスト名および IP アドレスに基づいて InetAddress を作成します。 |
static InetAddress |
InetAddress.getByName(String host)
指定されたホスト名を持つホストの IP アドレスを取得します。 |
static InetAddress |
InetAddress.getLocalHost()
ローカルホストを返します。 |
|
CDC 1.1.2 | |||||||||
前 次 | フレームあり フレームなし |