Class IOUtilDelegator
java.lang.Object
org.jboss.shrinkwrap.api.asset.IOUtilDelegator
Deprecated, for removal: This API element is subject to removal in a future version.
Internal ShrinkWrap utility retained only for backward compatibility; scheduled for removal. Do not use.
IOUtilDelegator
Class that helps expose package private ByteArrayIOUtil
- Version:
- $Revision: $
- Author:
- Ken Gullaksen
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]Deprecated, for removal: This API element is subject to removal in a future version.Delegates toByteArrayIOUtil.asByteArray(java.io.InputStream)
-
Constructor Details
-
IOUtilDelegator
public IOUtilDelegator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
asByteArray
Deprecated, for removal: This API element is subject to removal in a future version.Delegates toByteArrayIOUtil.asByteArray(java.io.InputStream)- Parameters:
in- The InputStream to be converted to a byte array- Returns:
- the byte[] for the given InputStream
- Throws:
IllegalArgumentException- If the stream was not specified
-