public class IOUtils
extends java.lang.Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
readAll(java.io.InputStream is)
Read all bytes from a stream.
|
@WillNotClose
public static byte[] readAll(java.io.InputStream is)
throws java.io.IOException
is - The InputStream to read fromjava.io.IOException - If an I/O error occurs