org.entityfs.util.io
Class ByteArrayInputStreamFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayInputStreamFactory
public ByteArrayInputStreamFactory(byte[] arr)
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.