org.jbpm.pvm.internal.stream
Class ByteArrayStreamInput

java.lang.Object
  extended by org.jbpm.pvm.internal.stream.StreamInput
      extended by org.jbpm.pvm.internal.stream.ByteArrayStreamInput
All Implemented Interfaces:
java.io.Serializable

public class ByteArrayStreamInput
extends StreamInput
implements java.io.Serializable

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  byte[] bytes
           
 
Fields inherited from class org.jbpm.pvm.internal.stream.StreamInput
name
 
Constructor Summary
ByteArrayStreamInput(byte[] bytes)
           
 
Method Summary
 java.io.InputStream openStream()
           
 
Methods inherited from class org.jbpm.pvm.internal.stream.StreamInput
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

ByteArrayStreamInput

public ByteArrayStreamInput(byte[] bytes)
Throws:
JbpmException - if bytes is null
Method Detail

openStream

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


Copyright © 2010 JBoss Community. All Rights Reserved.