Java BufferedReader Read Line readLineHard(BufferedReader in)

Here you can find the source of readLineHard(BufferedReader in)

Description

read Line Hard

License

Open Source License

Declaration

public static String readLineHard(BufferedReader in) 

Method Source Code


//package com.java2s;
import java.io.BufferedReader;

import java.io.IOException;

public class Main {
    public static String readLineHard(BufferedReader in) {
        try {// w w w . j a va 2 s . c  om
            return in.readLine();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}

Related

  1. readLineByLine(File file, char[][] terminators, boolean keepTerminators, Consumer readLineListener)
  2. readLineFile(File file)
  3. readLineFile(String filePath)
  4. readLineFromCommand(String command[])
  5. readLineFromConsole()
  6. readLineList(String fileName)
  7. readLineToList(String pathName, String enCoding)