パッケージ jcifs
インタフェース Address
-
- 既知のサブインタフェースのリスト:
NetbiosAddress
- 既知の実装クラスのリスト:
NbtAddress,UniAddress
public interface AddressInterface for both netbios and internet addresses- 作成者:
- mbechler
-
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 StringfirstCalledName()Guess called name to try for session establishment.StringgetHostAddress()Return the IP address as text such as "192.168.1.15".StringgetHostName()StringnextCalledName(CIFSContext tc)Guess next called name to try for session establishment.InetAddresstoInetAddress()<T extends Address>
Tunwrap(Class<T> type)
-
-
-
メソッドの詳細
-
unwrap
<T extends Address> T unwrap(Class<T> type)
- パラメータ:
type-- 戻り値:
- instance for type, null if the type cannot be unwrapped
-
getHostName
String getHostName()
- 戻り値:
- the resolved host name, or the host address if it could not be resolved
-
getHostAddress
String getHostAddress()
Return the IP address as text such as "192.168.1.15".- 戻り値:
- the ip address
-
toInetAddress
InetAddress toInetAddress() throws UnknownHostException
- 戻り値:
- this address as an InetAddress
- 例外:
UnknownHostException
-
firstCalledName
String firstCalledName()
Guess called name to try for session establishment. These methods are used by the smb package.- 戻り値:
- guessed name
-
nextCalledName
String nextCalledName(CIFSContext tc)
Guess next called name to try for session establishment. These methods are used by the smb package.- パラメータ:
tc-- 戻り値:
- guessed name
-
-