public class IOUtilDelegator extends Object
Class that helps expose package private ByteArrayIOUtil
| Constructor and Description |
|---|
IOUtilDelegator() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
asByteArray(InputStream in)
Delegates to
ByteArrayIOUtil.asByteArray(java.io.InputStream) |
public static byte[] asByteArray(InputStream in) throws IllegalArgumentException
ByteArrayIOUtil.asByteArray(java.io.InputStream)in - The InputStream to be converted to a byte arrayIllegalArgumentException - If the stream was not specifiedCopyright © 2024 JBoss by Red Hat. All rights reserved.