java.net
Class Inet6Address
java.lang.Object
|
+--java.net.InetAddress
|
+--java.net.Inet6Address
Author:Inet6Address
protected Inet6Address(byte[] addr, java.lang.String host)
Create an Inet6Address object
Parameters:
equals
public boolean equals(java.lang.Object obj)
Compares this object against the specified object
Parameters:
getAddress
public byte[] getAddress()
Returns the raw IP address of this InetAddress object. The result is in
network byte order: the highest order byte of the address is i
n getAddress()[0]
getHostAddress
public String getHostAddress()
Returns the IP address string in textual presentation
hashCode
public int hashCode()
Returns a hashcode for this IP address
isAnyLocalAddress
public boolean isAnyLocalAddress()
Utility routine to check if the InetAddress in a wildcard address
Since:
isIPv4CompatibleAddress
public boolean isIPv4CompatibleAddress()
Utility routine to check if the InetAddress is an
IPv4 compatible IPv6 address
Since:
isLinkLocalAddress
public boolean isLinkLocalAddress()
Utility routine to check if the InetAddress is an link local address
Since:
isLoopbackAddress
public boolean isLoopbackAddress()
Utility routine to check if the InetAddress is a loopback address
Since:
isMCGlobal
public boolean isMCGlobal()
Utility routine to check if the multicast address has global scope
Since:
isMCLinkLocal
public boolean isMCLinkLocal()
Utility routine to check if the multicast address has link scope
Since:
isMCNodeLocal
public boolean isMCNodeLocal()
Utility routine to check if the multicast address has node scope
Since:
isMCOrgLocal
public boolean isMCOrgLocal()
Utility routine to check if the multicast address has organization scope
Since:
isMCSiteLocal
public boolean isMCSiteLocal()
Utility routine to check if the multicast address has site scope
Since:
isMulticastAddress
public boolean isMulticastAddress()
Utility routine to check if the InetAddress is an IP multicast address
Since:
isSiteLocalAddress
public boolean isSiteLocalAddress()
Utility routine to check if the InetAddress is a site local address
Since: