|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectgov.nist.core.GenericObject
gov.nist.core.HostPort
public final class HostPort
Holds the hostname:port.
| コンストラクタの概要 | |
|---|---|
HostPort()
Default constructor |
|
| メソッドの概要 | |
|---|---|
java.lang.Object |
clone()
Make a clone of this object. |
java.lang.String |
encode()
Encode this hostport into its string representation. |
boolean |
equals(java.lang.Object other)
returns true if the two objects are equals, false otherwise. |
Host |
getHost()
get the Host field |
java.net.InetAddress |
getInetAddress()
Return the internet address corresponding to the host. |
int |
getPort()
get the port field |
boolean |
hasPort()
Returns boolean value indicating if Header has port |
void |
removePort()
remove port. |
void |
setHost(Host h)
Set the host member |
void |
setPort(int p)
Set the port member |
| クラス gov.nist.core.GenericObject から継承されたメソッド |
|---|
debugDump, debugDump, getClassFromName, getMatcher, isMySubclass, match, merge, replace, replace, replace, replace, setMatcher |
| クラス java.lang.Object から継承されたメソッド |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public HostPort()
| メソッドの詳細 |
|---|
public java.lang.String encode()
GenericObject 内の encodepublic boolean equals(java.lang.Object other)
GenericObject 内の equalsother - Object to set
public Host getHost()
public int getPort()
public boolean hasPort()
public void removePort()
public void setHost(Host h)
h - Host to setpublic void setPort(int p)
p - int to set
public java.net.InetAddress getInetAddress()
throws java.net.UnknownHostException
java.net.UnkownHostException - if host name cannot be resolved.
java.net.UnknownHostExceptionpublic java.lang.Object clone()
GenericObject の記述:
GenericObject 内の clone
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||