@Test public void testShouldAcceptLeftCompressedIpv4MixIn() { assertTrue("Expected acceptence of \"efff::1234:192.168.3.51\"", IPUtils.isValidIpv6String("efff::1234:192.168.3.51")); }
public static boolean isValidIpv6String(String in) { IPv6 ip = new IPv6(in); try { ip.getBytes(); } catch (IPStringConversionException ex) { return false; } return true; }
IPUtils { public static boolean isValidIpv6String(String in) { IPv6 ip = new IPv6(in); try { ip.getBytes(); } catch (IPStringConversionException ex) { return false; } return true; } }
IPUtils { public static boolean isValidIpv6String(String in) { IPv6 ip = new IPv6(in); try { ip.getBytes(); } catch (IPStringConversionException ex) { return false; } return true; }  }
IPUtils { public static boolean isValidIpv6String(String in) { IPv6 ip = new IPv6(in); try { ip.getBytes(); } catch (IPStringConversionException ex) { return false; } return true; }  static boolean isValidIpv6String(String in); static final boolean isValidIpv4Subnet(String in); static boolean isValidIpv6Subnet(String in); static boolean isValidIpv4String(String in); static byte[] invBytes(byte[] mask); static byte[] opBytes(byte[] a1, byte[] a2, ByteStreamOperation bop); static byte[] rollMask(int mask, int addrSize); static boolean bytesEqual(byte[] a1, byte[] a2); }
IPUtils { public static boolean isValidIpv6String(String in) { IPv6 ip = new IPv6(in); try { ip.getBytes(); } catch (IPStringConversionException ex) { return false; } return true; }  static boolean isValidIpv6String(String in); static final boolean isValidIpv4Subnet(String in); static boolean isValidIpv6Subnet(String in); static boolean isValidIpv4String(String in); static byte[] invBytes(byte[] mask); static byte[] opBytes(byte[] a1, byte[] a2, ByteStreamOperation bop); static byte[] rollMask(int mask, int addrSize); static boolean bytesEqual(byte[] a1, byte[] a2);  }