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, toString
public boolean isMulticastAddress()
isMulticastAddress
in class InetAddress
public boolean isAnyLocalAddress()
isAnyLocalAddress
in class InetAddress
public boolean isLoopbackAddress()
public boolean isLinkLocalAddress()
isLinkLocalAddress
in class InetAddress
public boolean isSiteLocalAddress()
isSiteLocalAddress
in class InetAddress
public boolean isMCGlobal()
isMCGlobal
in class InetAddress
public boolean isMCNodeLocal()
isMCNodeLocal
in class InetAddress
public boolean isMCLinkLocal()
isMCLinkLocal
in class InetAddress
public boolean isMCSiteLocal()
isMCSiteLocal
in class InetAddress
public boolean isMCOrgLocal()
isMCOrgLocal
in class InetAddress
public String getHostAddress()
getHostAddress
in class InetAddress
public boolean isIPv4CompatibleAddress()