Validate IPv4 address in Java

I want to validate an IPv4 address using Java. It should be written using the dot-decimal notation, so it should have 3 dots ("."), no characters, numbers in between the dots, and numbers should be in a valid range. How should it be done?

59
задан Sk8erPeter 17 April 2014 в 22:53
поделиться