public abstract class IOUtils extends Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
toByteArray(InputStream is)
get the stream content and return as a byte array
|
public static byte[] toByteArray(InputStream is) throws IOException
is - InputStreamIOException - if the stream is closedCopyright © 2018. All rights reserved.