Top Methods
jdk.internal.access

public Interface JavaNetInetAddressAccess

Imports
java.net.Inet4Address, .Inet6Address, .InetAddress

Method Summary

Modifier and TypeMethod and Description
public byte[]
addressBytes(Inet6Address inet6Address)

Returns a reference to the byte[] with the IPv6 address.

public int
addressValue(Inet4Address inet4Address)

Returns the 32-bit IPv4 address.

public String
getOriginalHostName(InetAddress ia)

Return the original application specified hostname of the given InetAddress object.

Method Detail

addressBytesback to summary
public byte[] addressBytes(Inet6Address inet6Address)

Returns a reference to the byte[] with the IPv6 address.

addressValueback to summary
public int addressValue(Inet4Address inet4Address)

Returns the 32-bit IPv4 address.

getOriginalHostNameback to summary
public String getOriginalHostName(InetAddress ia)

Return the original application specified hostname of the given InetAddress object.