Here you can find the source of toInt32(Object prmIntObject)
public static int toInt32(Object prmIntObject)
//package com.java2s; //License from project: Apache License public class Main { public static int toInt32(Object prmIntObject) { return toInt(prmIntObject); }/* ww w. j ava 2 s .co m*/ public static int toInt(Object prmIntObject) { int rtnInt = 0; if (prmIntObject != null) { rtnInt = Integer.parseInt(prmIntObject.toString()); } return rtnInt; } public static String toString(Object stringObject) { return toString(stringObject, ""); } public static String toString(Object stringObject, String value2) { if (stringObject != null) { return stringObject.toString(); } else { return value2; } } }