class ByteArrayIOUtil
extends java.lang.Object
InputStream
. Needed by the common assets in api.Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
log |
Constructor and Description |
---|
ByteArrayIOUtil() |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
asByteArray(java.io.InputStream in)
Obtains the contents of the specified stream as a byte array
|
static byte[] asByteArray(java.io.InputStream in) throws java.lang.IllegalArgumentException
in
- InputStreamjava.lang.IllegalArgumentException
- If the stream was not specified