public final class Inet6Address extends InetAddress
| Modifier and Type | Method and Description |
|---|---|
String |
getHostAddress()
Returns the IP address string in textual presentation
|
boolean |
isAnyLocalAddress()
Utility routine to check if the InetAddress in a wildcard address
|
boolean |
isIPv4CompatibleAddress()
Utility routine to check if the InetAddress is an
IPv4 compatible IPv6 address
|
boolean |
isLinkLocalAddress()
Utility routine to check if the InetAddress is an link local address
|
boolean |
isLoopbackAddress()
Utility routine to check if the InetAddress is a loopback address
|
boolean |
isMCGlobal()
Utility routine to check if the multicast address has global scope
|
boolean |
isMCLinkLocal()
Utility routine to check if the multicast address has link scope
|
boolean |
isMCNodeLocal()
Utility routine to check if the multicast address has node scope
|
boolean |
isMCOrgLocal()
Utility routine to check if the multicast address has organization scope
|
boolean |
isMCSiteLocal()
Utility routine to check if the multicast address has site scope
|
boolean |
isMulticastAddress()
Utility routine to check if the InetAddress is an IP multicast address
|
boolean |
isSiteLocalAddress()
Utility routine to check if the InetAddress is a site local address
|
equals, equals, getAddress, getAllByName, getByAddress, getByAddress, getByName, getHostName, getLocalHost, hashCode, toStringpublic boolean isMulticastAddress()
isMulticastAddress in class InetAddresspublic boolean isAnyLocalAddress()
isAnyLocalAddress in class InetAddresspublic boolean isLoopbackAddress()
public boolean isLinkLocalAddress()
isLinkLocalAddress in class InetAddresspublic boolean isSiteLocalAddress()
isSiteLocalAddress in class InetAddresspublic boolean isMCGlobal()
isMCGlobal in class InetAddresspublic boolean isMCNodeLocal()
isMCNodeLocal in class InetAddresspublic boolean isMCLinkLocal()
isMCLinkLocal in class InetAddresspublic boolean isMCSiteLocal()
isMCSiteLocal in class InetAddresspublic boolean isMCOrgLocal()
isMCOrgLocal in class InetAddresspublic String getHostAddress()
getHostAddress in class InetAddresspublic boolean isIPv4CompatibleAddress()