Here you can find the source of readLine(BufferedReader reader)
private static String readLine(BufferedReader reader)
//package com.java2s; //License from project: Apache License import java.io.BufferedReader; import java.io.IOException; public class Main { private static String readLine(BufferedReader reader) { String result = null;/*w w w . j a v a 2 s . c o m*/ try { result = reader.readLine(); } catch (IOException e) { result = null; } return result; } }