public static IPv6Address fromInetAddress ( final InetAddress inetAddress ) { if ( inetAddress == null ) throw new IllegalArgumentException ( "can not construct from [null]" ) ; return fromByteArray ( inetAddress . getAddress ( ) ) ; }
Create an IPv6 address from a java . net . Inet6Address .