Class FlowableExpressionIOUtils
java.lang.Object
com.flowable.platform.expressions.FlowableExpressionIOUtils
public class FlowableExpressionIOUtils
extends java.lang.Object
Provides utilities to work with I/O.
- Author:
- Valentin Rentschler
-
Constructor Summary
Constructors Constructor Description FlowableExpressionIOUtils()
-
Method Summary
Modifier and Type Method Description byte[]
streamToByteArray(java.io.InputStream inputStream)
Takes a stream and turns it into a byte array
-
Constructor Details
-
FlowableExpressionIOUtils
public FlowableExpressionIOUtils()
-
-
Method Details
-
streamToByteArray
public byte[] streamToByteArray(java.io.InputStream inputStream) throws java.io.IOExceptionTakes a stream and turns it into a byte array- Parameters:
inputStream
- The input stream, non null. Will be closed after the bytes have been read- Returns:
- a byte array
- Throws:
java.io.IOException
-