/** * @return the range in CIDR format: x.y.z.w/sz */ public String getCidrSignature() { if(high == null) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getCidrSignature(); } else { throw new UnsupportedOperationException("IPv6 non implemented yet"); } }
/** * @return the range in CIDR format: x.y.z.w/sz */ public String getCidrSignature() { if(high == null) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getCidrSignature(); } else { throw new UnsupportedOperationException("IPv6 non implemented yet"); } }
/** * @return the range in CIDR format: x.y.z.w/sz */ public String getCidrSignature() { if(high == null) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getCidrSignature(); } else { throw new UnsupportedOperationException("IPv6 non implemented yet"); } }
/** * @return the range in CIDR format: x.y.z.w/sz */ public String getCidrSignature() { if(high == null) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getCidrSignature(); } else { throw new UnsupportedOperationException("IPv6 non implemented yet"); } }
protected String encodeIPv4() { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getAddress(); }
protected String encodeIPv4() { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getAddress(); }
protected String encodeIPv4() { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getAddress(); }
protected String encodeIPv4() { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().getAddress(); }
public boolean match(Inet4Address address) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address.getHostAddress()); }
public boolean match(Inet4Address address) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address.getHostAddress()); }
public boolean match(String address) { if( ! SubnetV4Utils.isAddress(address)) return false; SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address); }
public boolean match(Inet4Address address) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address.getHostAddress()); }
public boolean match(String address) { if( ! SubnetV4Utils.isAddress(address)) return false; SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address); }
public boolean match(Inet4Address address) { SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address.getHostAddress()); }
public boolean match(String address) { if( ! SubnetV4Utils.isAddress(address)) return false; SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address); }
public boolean match(String address) { if( ! SubnetV4Utils.isAddress(address)) return false; SubnetV4Utils su = new SubnetV4Utils(low, size); return su.getInfo().isInRange(address); }