Class InputStreamSource
java.lang.Object
org.flowable.common.engine.impl.util.io.InputStreamSource
- All Implemented Interfaces:
InputStreamProvider,StreamSource
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytesFromInputStream(InputStream inStream) Creates a NEWInputStreamto the provided resource.toString()
-
Field Details
-
inputStream
-
bytes
protected byte[] bytes
-
-
Constructor Details
-
InputStreamSource
-
-
Method Details
-
getInputStream
Description copied from interface:StreamSourceCreates a NEWInputStreamto the provided resource.- Specified by:
getInputStreamin interfaceInputStreamProvider- Specified by:
getInputStreamin interfaceStreamSource
-
toString
-
getBytesFromInputStream
- Throws:
IOException
-