Class 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.InputStream getInputStream()
      Creates a NEW InputStream to the provided resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bytes

        protected byte[] bytes
    • Constructor Detail

      • BytesStreamSource

        public BytesStreamSource​(byte[] bytes)
    • Method Detail

      • getInputStream

        public java.io.InputStream getInputStream()
        Description copied from interface: StreamSource
        Creates a NEW InputStream to the provided resource.
        Specified by:
        getInputStream in interface org.activiti.bpmn.converter.util.InputStreamProvider
        Specified by:
        getInputStream in interface StreamSource