org.entityfs.util.io
Class ByteArrayInputStreamFactory

java.lang.Object
  extended by org.entityfs.util.io.ByteArrayInputStreamFactory
All Implemented Interfaces:
ObjectFactory<ByteArrayInputStream>

public class ByteArrayInputStreamFactory
extends Object
implements ObjectFactory<ByteArrayInputStream>

This is an ObjectFactory that creates ByteArrayInputStream:s that read from a byte array.

Author:
Karl Gustafsson

Constructor Summary
ByteArrayInputStreamFactory(byte[] arr)
           
 
Method Summary
 ByteArrayInputStream create()
          Create a new instance of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayInputStreamFactory

public ByteArrayInputStreamFactory(byte[] arr)
Method Detail

create

public ByteArrayInputStream create()
Description copied from interface: ObjectFactory
Create a new instance of the object.

Specified by:
create in interface ObjectFactory<ByteArrayInputStream>
Returns:
The new instance.