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