Package org.activiti.engine.impl.util.io
Class BytesStreamSource
- java.lang.Object
-
- org.activiti.engine.impl.util.io.BytesStreamSource
-
- All Implemented Interfaces:
org.activiti.bpmn.converter.util.InputStreamProvider,StreamSource
public class BytesStreamSource extends java.lang.Object implements StreamSource
-
-
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 java.io.InputStreamgetInputStream()Creates a NEWInputStreamto the provided resource.
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream()
Description copied from interface:StreamSourceCreates a NEWInputStreamto the provided resource.- Specified by:
getInputStreamin interfaceorg.activiti.bpmn.converter.util.InputStreamProvider- Specified by:
getInputStreamin interfaceStreamSource
-
-