Check If A String Is Valid, Inner, Public Ip Java Example

This example include java code that can be used to check whether a given ip string is valid, inner or public ip or not. Please see code comments for detail explanation.