System.out.printf("Network Address:\t\t%s\t[%s]\n", info.getNetworkAddress(),
Integer.toBinaryString(info.asInteger(info.getNetworkAddress())));
System.out.printf("Broadcast Address:\t\t%s\t[%s]\n", info.getBroadcastAddress(),
Integer.toBinaryString(info.asInteger(info.getBroadcastAddress())));
System.out.printf("Low Address:\t\t\t%s\t[%s]\n", info.getLowAddress(),
Integer.toBinaryString(info.asInteger(info.getLowAddress())));
System.out.printf("High Address:\t\t\t%s\t[%s]\n", info.getHighAddress(),
Integer.toBinaryString(info.asInteger(info.getHighAddress())));
System.out.printf("Total usable addresses: \t%d\n", Integer.valueOf(info.getAddressCount()));
System.out.printf("Address List: %s\n\n", Arrays.toString(info.getAllAddresses()));