Class IpAddress


  • public class IpAddress
    extends Object
    a single IP address or a subnet
    • Constructor Summary

      Constructors 
      Constructor Description
      IpAddress​(String addressSpecification)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IpAddress

        public IpAddress​(String addressSpecification)
        Parameters:
        addressSpecification - in CIDR notation, like "192.168.0.0/24"
    • Method Detail

      • toString

        public String toString()
        Overrides:
        toString in class Object