Class InetAddresses2


  • public class InetAddresses2
    extends Object
    • Constructor Detail

      • InetAddresses2

        public InetAddresses2()
    • Method Detail

      • isPrivateIPAddress

        public static boolean isPrivateIPAddress​(String in)
        Returns:
        true if the input is an ip4 address and in one of the 3 reserved private blocks.