public class IOUtils extends Object
Constructor and Description |
---|
IOUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
readText(BufferedReader reader)
Read the content of the BufferedReader and return it as a String in a blocking manner.
|
public static String readText(BufferedReader reader) throws IOException
reader
- a BufferedReader whose content we want to readIOException
- if an IOException occurs.