| java.lang.Object com.knowgate.dfs.ByteArrayDataSource
ByteArrayDataSource | public class ByteArrayDataSource implements DataSource(Code) | | A simple DataSource for demonstration purposes.
This class implements a DataSource from:
an InputStream
a byte array
a String
author: John Mani author: Bill Shannon author: Max Spivak |
ByteArrayDataSource | public ByteArrayDataSource(byte[] data, String type)(Code) | | |
getInputStream | public InputStream getInputStream() throws IOException(Code) | | Return an InputStream for the data.
Note - a new stream must be returned each time.
|
|
|