question: public static String normalizeInet4Address ( String ip4String ) { final int [ ] octets = parseInet4Address ( ip4String ) ; if ( octets == null ) { return null ; } StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < 4 ; i ++ ) { if ( i > 0 ) { sb . append ( '.' ) ; } sb . append ( octets [ i ] ) ; } return sb . toString ( ) ; }
target:  Normalize a string representing an IPv4 address to the canonical representation with four decimal octets (d.d.d.d).