Here you can find the source of toIntDecoded(String s)
public static int toIntDecoded(String s)
//package com.java2s; //License from project: Open Source License public class Main { public static int toIntDecoded(String s) { return Integer.decode(s); }// ww w. j a va 2 s. co m public static Integer decode(String s) { try { Integer i = Integer.decode(s); return i; } catch (Exception e) { } return null; } }