Uses of Class
com.aoapps.net.InetAddress
Packages that use InetAddress
-
Uses of InetAddress in com.aoapps.net
Fields in com.aoapps.net declared as InetAddressModifier and TypeFieldDescriptionstatic final InetAddress
InetAddress.LOOPBACK_IPV4
static final InetAddress
InetAddress.LOOPBACK_IPV6
static final InetAddress
InetAddress.UNSPECIFIED_IPV4
static final InetAddress
InetAddress.UNSPECIFIED_IPV6
Methods in com.aoapps.net that return InetAddressModifier and TypeMethodDescriptionInetAddressPrefix.getAddress()
InetAddressPrefix.getFrom()
Gets the first address in the network range represented by this address and prefix.HostAddress.getInetAddress()
InetAddressPrefix.getTo()
Gets the last address in the network range represented by this address and prefix.InetAddress.intern()
Interns this IP much in the same fashion asString.intern()
.static InetAddress
InetAddress.valueOf
(long hi, long lo) Gets an IPv6 address from its numerical representation.static InetAddress
Gets an IPv6 address from its numerical representation.static InetAddress
Parses either an IPv4 or IPv6 address.Methods in com.aoapps.net with parameters of type InetAddressModifier and TypeMethodDescriptionint
InetAddress.compareTo
(InetAddress other) Sorts by address family then numeric address.boolean
InetAddressPrefix.contains
(InetAddress other) Checks if the given address is in this prefix.static ValidationResult
InetAddressPrefix.validate
(InetAddress address, int prefix) Checks if the address and prefix are valid.static HostAddress
HostAddress.valueOf
(InetAddress ip) If ip is null, returns null.static InetAddressPrefix
InetAddressPrefix.valueOf
(InetAddress address, int prefix) Gets an IPv6 address prefix from an address and prefix.