@Test public void testinvalidIpv4MappedIp6GetByName() { for (String testEntry : invalidIpV4Hosts.keySet()) { assertNull(NetUtil.getByName(testEntry, true)); } for (String testEntry : invalidIpV6Hosts.keySet()) { assertNull(NetUtil.getByName(testEntry, true)); } }
public static Inet6Address getByName(CharSequence ip) { return getByName(ip, true); }
NetUtil { public static Inet6Address getByName(CharSequence ip) { return getByName(ip, true); } }
NetUtil { public static Inet6Address getByName(CharSequence ip) { return getByName(ip, true); } private  NetUtil(); }
NetUtil { public static Inet6Address getByName(CharSequence ip) { return getByName(ip, true); } private  NetUtil(); static boolean isIpV4StackPreferred(); static byte[] createByteArrayFromIpAddressString(String ipAddressString); static boolean isValidIpV6Address(String ipAddress); @Deprecated static boolean isValidIp4Word(String word); static boolean isValidIpV4Address(String value); static Inet6Address getByName(CharSequence ip); static Inet6Address getByName(CharSequence ip, boolean ipv4Mapped); static String toAddressString(InetAddress ip); static String toAddressString(InetAddress ip, boolean ipv4Mapped); }
NetUtil { public static Inet6Address getByName(CharSequence ip) { return getByName(ip, true); } private  NetUtil(); static boolean isIpV4StackPreferred(); static byte[] createByteArrayFromIpAddressString(String ipAddressString); static boolean isValidIpV6Address(String ipAddress); @Deprecated static boolean isValidIp4Word(String word); static boolean isValidIpV4Address(String value); static Inet6Address getByName(CharSequence ip); static Inet6Address getByName(CharSequence ip, boolean ipv4Mapped); static String toAddressString(InetAddress ip); static String toAddressString(InetAddress ip, boolean ipv4Mapped); static final Inet4Address LOCALHOST4; static final Inet6Address LOCALHOST6; static final InetAddress LOCALHOST; static final NetworkInterface LOOPBACK_IF; static final int SOMAXCONN; }