@Test public void testIsOctalEncodedIpAddress() { Assert.assertFalse(ipUtils.isOctalEncodedIpAddress(ipDec)); Assert.assertFalse(ipUtils.isOctalEncodedIpAddress(ipHex)); Assert.assertTrue(ipUtils.isOctalEncodedIpAddress(ipOct)); Assert.assertFalse(ipUtils.isOctalEncodedIpAddress(ipBin)); Assert.assertFalse(ipUtils.isOctalEncodedIpAddress(ipNum)); }
public boolean isOctalEncodedIpAddress(String ip) { return OCTAL_PATTERN.matcher(ip).matches(); }
IpUtils { public boolean isOctalEncodedIpAddress(String ip) { return OCTAL_PATTERN.matcher(ip).matches(); } }
IpUtils { public boolean isOctalEncodedIpAddress(String ip) { return OCTAL_PATTERN.matcher(ip).matches(); }  }
IpUtils { public boolean isOctalEncodedIpAddress(String ip) { return OCTAL_PATTERN.matcher(ip).matches(); }  boolean isIpAddress(String ip); boolean isDecimalIpAddress(String ip); boolean isBinaryIpAddress(String ip); boolean isOctalEncodedIpAddress(String ip); boolean isHexEncodedIpAddress(String ip); boolean isNumericIpAddress(String ip); InetAddress toInetAddress(String ip); }
IpUtils { public boolean isOctalEncodedIpAddress(String ip) { return OCTAL_PATTERN.matcher(ip).matches(); }  boolean isIpAddress(String ip); boolean isDecimalIpAddress(String ip); boolean isBinaryIpAddress(String ip); boolean isOctalEncodedIpAddress(String ip); boolean isHexEncodedIpAddress(String ip); boolean isNumericIpAddress(String ip); InetAddress toInetAddress(String ip);  }