Here you can find the source of inttostr(String intStr)
public static String inttostr(String intStr)
//package com.java2s; //License from project: Open Source License public class Main { public static String inttostr(String intStr) { String returnStr = ""; for (int i = 0; i < intStr.length(); i++) { if (String.valueOf(intStr.charAt(i)).equals("1")) returnStr += "a"; if (String.valueOf(intStr.charAt(i)).equals("2")) returnStr += "b"; if (String.valueOf(intStr.charAt(i)).equals("3")) returnStr += "c"; if (String.valueOf(intStr.charAt(i)).equals("4")) returnStr += "d"; if (String.valueOf(intStr.charAt(i)).equals("5")) returnStr += "e"; if (String.valueOf(intStr.charAt(i)).equals("6")) returnStr += "f"; if (String.valueOf(intStr.charAt(i)).equals("7")) returnStr += "g"; if (String.valueOf(intStr.charAt(i)).equals("8")) returnStr += "h"; if (String.valueOf(intStr.charAt(i)).equals("9")) returnStr += "i"; if (String.valueOf(intStr.charAt(i)).equals("0")) returnStr += "j"; }//from w ww .ja v a 2 s.c o m return returnStr; } }