org.jbpm.stream
Class ByteArrayStreamSource

java.lang.Object
  extended by org.jbpm.stream.StreamSource
      extended by org.jbpm.stream.ByteArrayStreamSource

public class ByteArrayStreamSource
extends StreamSource

Author:
Tom Baeyens

Field Summary
protected  byte[] bytes
           
 
Fields inherited from class org.jbpm.stream.StreamSource
name
 
Constructor Summary
ByteArrayStreamSource(byte[] bytes)
           
 
Method Summary
 java.io.InputStream openStream()
           
 
Methods inherited from class org.jbpm.stream.StreamSource
getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bytes

protected byte[] bytes
Constructor Detail

ByteArrayStreamSource

public ByteArrayStreamSource(byte[] bytes)
Throws:
PvmException - if bytes is null
Method Detail

openStream

public java.io.InputStream openStream()
Specified by:
openStream in class StreamSource