Class InetAddressUtil

    • Constructor Summary

      Constructors 
      Constructor Description
      InetAddressUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.InetAddress convertToInetAddressIfPossible​(java.lang.CharSequence address)  
      static java.net.Inet4Address ipv4From​(java.lang.CharSequence cs)  
      static java.net.Inet6Address ipv6From​(java.lang.CharSequence cs)  
      static boolean isIpAddress​(java.lang.CharSequence address)  
      static boolean isIpV4Address​(java.lang.CharSequence address)  
      static boolean isIpV6Address​(java.lang.CharSequence address)  
      static DnsName reverseIpAddressOf​(java.net.Inet4Address inet4Address)  
      static DnsName reverseIpAddressOf​(java.net.Inet6Address inet6Address)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ipv4From

        public static java.net.Inet4Address ipv4From​(java.lang.CharSequence cs)
      • ipv6From

        public static java.net.Inet6Address ipv6From​(java.lang.CharSequence cs)
      • isIpV4Address

        public static boolean isIpV4Address​(java.lang.CharSequence address)
      • isIpV6Address

        public static boolean isIpV6Address​(java.lang.CharSequence address)
      • isIpAddress

        public static boolean isIpAddress​(java.lang.CharSequence address)