org.jboss.shrinkwrap.api.asset
Class IOUtilDelegator
java.lang.Object
org.jboss.shrinkwrap.api.asset.IOUtilDelegator
public class IOUtilDelegator
- extends Object
IOUtilDelegator
Class that helps expose package private ByteArrayIOUtil
- Version:
- $Revision: $
- Author:
- Ken Gullaksen
Method Summary |
static byte[] |
asByteArray(InputStream in)
Delegates to ByteArrayIOUtil.asByteArray(java.io.InputStream) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOUtilDelegator
public IOUtilDelegator()
asByteArray
public static byte[] asByteArray(InputStream in)
throws IllegalArgumentException
- Delegates to
ByteArrayIOUtil.asByteArray(java.io.InputStream)
- Parameters:
in
-
- Returns:
- the byte[] for the given InputStream
- Throws:
IllegalArgumentException
- If the stream was not specified
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.