Here you can find the source of loadInt(BufferedReader br)
public static int loadInt(BufferedReader br)
//package com.java2s; //License from project: Open Source License import java.io.BufferedReader; import java.io.IOException; public class Main { public static int loadInt(BufferedReader br) { return Integer.parseInt(loadString(br)); }/* w w w . j av a2 s .c o m*/ public static String loadString(BufferedReader br) { String s = ""; try { s = br.readLine(); } catch (IOException ioe) { } return s; } }