Java BufferedReader Read Line readLine(BufferedReader reader)

Here you can find the source of readLine(BufferedReader reader)

Description

read Line

License

Apache License

Declaration

private static String readLine(BufferedReader reader) 

Method Source Code


//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;
    }
}

Related

  1. readLine(BufferedReader in)
  2. readline(BufferedReader in, BufferedReader err)
  3. readLine(BufferedReader input)
  4. readLine(BufferedReader reader)
  5. readLine(BufferedReader reader)
  6. readLine(BufferedReader reader, StringWriter writer)
  7. readLine(File f)
  8. readLine(File f)
  9. readLine(File file)