Class InetAddressUtil


  • final class InetAddressUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int IPV6_PART_COUNT  
    • Constructor Summary

      Constructors 
      Constructor Description
      InetAddressUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void compressLongestRunOfZeroes​(int[] hextets)  
      private static java.lang.String hextetsToIPv6String​(int[] hextets)  
      static java.lang.String toAddrString​(java.net.InetAddress ip)  
      • Methods inherited from class java.lang.Object

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

      • InetAddressUtil

        InetAddressUtil()
    • Method Detail

      • toAddrString

        public static java.lang.String toAddrString​(java.net.InetAddress ip)
      • compressLongestRunOfZeroes

        private static void compressLongestRunOfZeroes​(int[] hextets)
      • hextetsToIPv6String

        private static java.lang.String hextetsToIPv6String​(int[] hextets)