java.net
Class Inet4AddressImpl
java.lang.Object
|
+--java.net.Inet4AddressImpl
- All Implemented Interfaces:
- InetAddressImpl
- class Inet4AddressImpl
- extends Object
- implements InetAddressImpl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anyLocalAddress
private InetAddress anyLocalAddress
loopbackAddress
private InetAddress loopbackAddress
Inet4AddressImpl
Inet4AddressImpl()
getLocalHostName
public String getLocalHostName()
throws UnknownHostException
- Specified by:
getLocalHostName
in interface InetAddressImpl
UnknownHostException
lookupAllHostAddr
public byte[][] lookupAllHostAddr(String hostname)
throws UnknownHostException
- Specified by:
lookupAllHostAddr
in interface InetAddressImpl
UnknownHostException
getHostByAddr
public String getHostByAddr(byte[] addr)
throws UnknownHostException
- Specified by:
getHostByAddr
in interface InetAddressImpl
UnknownHostException
anyLocalAddress
public InetAddress anyLocalAddress()
- Specified by:
anyLocalAddress
in interface InetAddressImpl
loopbackAddress
public InetAddress loopbackAddress()
- Specified by:
loopbackAddress
in interface InetAddressImpl
comments?