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 NEWInputStream
to the provided resource.toString()
-
Field Details
-
inputStream
-
bytes
protected byte[] bytes
-
-
Constructor Details
-
InputStreamSource
-
-
Method Details
-
getInputStream
Description copied from interface:StreamSource
Creates a NEWInputStream
to the provided resource.- Specified by:
getInputStream
in interfaceInputStreamProvider
- Specified by:
getInputStream
in interfaceStreamSource
-
toString
-
getBytesFromInputStream
- Throws:
IOException
-