Here you can find the source of versionToString(int version)
public static String versionToString(int version)
//package com.java2s; //License from project: Apache License public class Main { public static String versionToString(int version) { //very short byte code return new StringBuilder().append(version >>> 16).append('.') .append((version >>> 8) & 0xFF).append('.') .append(version & 0xFF).toString(); }//from w w w .j ava 2 s . co m }