Here you can find the source of intToIpAddress(int i)
public static String intToIpAddress(int i)
//package com.java2s; //License from project: Open Source License public class Main { public static String intToIpAddress(int i) { StringBuilder buf = new StringBuilder(15); buf.append(i >> 24 & 0xff); buf.append('.'); buf.append(i >> 16 & 0xff); buf.append('.'); buf.append(i >> 8 & 0xff); buf.append('.'); buf.append(i & 0xff);/*from w ww. ja v a 2 s . c om*/ return buf.toString(); } }