|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.daisy.repository.ByteArrayPartDataSource
public class ByteArrayPartDataSource
An implementation of the PartDataSource
interface that takes
its input from a byte array. Provided for your convenience.
Constructor Summary | |
---|---|
ByteArrayPartDataSource(byte[] data)
|
Method Summary | |
---|---|
java.io.InputStream |
createInputStream()
This method may be called multiple times. |
long |
getSize()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteArrayPartDataSource(byte[] data)
Method Detail |
---|
public java.io.InputStream createInputStream() throws java.io.IOException
PartDataSource
createInputStream
in interface PartDataSource
java.io.IOException
public long getSize()
getSize
in interface PartDataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |