public final class IOReader extends Object
Constructor and Description |
---|
IOReader() |
Modifier and Type | Method and Description |
---|---|
static String |
readFully(InputStream inputStream)
Read an InputStream completly and put the content of the input stream in
a String.
|
public static String readFully(InputStream inputStream) throws IllegalArgumentException, IOException
inputStream
- the input stream to read, cannot be null
.null
.IllegalArgumentException
- if inputStream == null
.IOException
- if there are some problems reading the input stream.See http://www.xins.org/.