Class BytesStreamSource
- java.lang.Object
-
- org.flowable.common.engine.impl.util.io.BytesStreamSource
-
- All Implemented Interfaces:
InputStreamProvider,StreamSource
public class BytesStreamSource extends Object implements StreamSource
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bytes
-
Constructor Summary
Constructors Constructor Description BytesStreamSource(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetInputStream()Creates a NEWInputStreamto the provided resource.
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream()
Description copied from interface:StreamSourceCreates a NEWInputStreamto the provided resource.- Specified by:
getInputStreamin interfaceInputStreamProvider- Specified by:
getInputStreamin interfaceStreamSource
-
-