public static class HostnameGuesser.CIDRBlock
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static HostnameGuesser.CIDRBlock |
createIPv4(int[] ip,
int bits) |
static HostnameGuesser.CIDRBlock |
createIPv6(int[] ip,
int bits) |
boolean |
isInetAddressOnNetwork(java.net.InetAddress ia)
Test if an internet address lives on this user specified network.
|
static HostnameGuesser.CIDRBlock |
parse(java.lang.String cidrBlock) |
public static HostnameGuesser.CIDRBlock parse(java.lang.String cidrBlock)
public static HostnameGuesser.CIDRBlock createIPv4(int[] ip, int bits)
public static HostnameGuesser.CIDRBlock createIPv6(int[] ip, int bits)
public boolean isInetAddressOnNetwork(java.net.InetAddress ia)
ia
- Address to test.