Here you can find the source of ByteToIp(int[] ips)
public static String ByteToIp(int[] ips)
//package com.java2s; //License from project: Apache License public class Main { public static String ByteToIp(int[] ips) { StringBuilder sb = new StringBuilder(); sb.append(ips[0]);// www . j a v a 2s .c o m sb.append("."); sb.append(ips[1]); sb.append("."); sb.append(ips[2]); sb.append("."); sb.append(ips[3]); return sb.toString(); } }