public interface JRUserStreamFactory
JRUserStreamFactory is a factory of input steams. It can create more than one input stream 
 which have same data structure.  The content can be XML, JSON, Plain text, Excel File etc.
 Purpose: To create more than one input stream, all the streams have same data structure, but different objects.| Modifier and Type | Method and Description | 
|---|---|
boolean | 
createInputStream(InformationBus infoBus,
                 java.lang.String param)
Creates a set of input stream by the parameters. 
 | 
java.io.InputStream | 
getInputStream()
Retrieves the current result as a InputStream object. 
 | 
boolean | 
nextInputStream()
Moves to the next InputStream. 
 | 
void | 
releaseInputStream()
Release the inputStream and related resources. 
 | 
boolean createInputStream(InformationBus infoBus, java.lang.String param) throws JRUserDataSourceException
infoBus - A object which implemented InformationBus.  User can set informaiton to this bus, or get 
 information from this bus.param - The parameter that the user used to get resultset.  It is defined in a user data source.JRUserDataSourceException: - JRUserDataSourceException occurs when original data is invalid.
         eg. error uri, specified file not exist.JRUserDataSourceExceptionboolean nextInputStream()
                 throws JRUserDataSourceException
JRUserDataSourceExceptionjava.io.InputStream getInputStream()
                            throws JRUserDataSourceException
JRUserDataSourceExceptionvoid releaseInputStream()
                 throws JRUserDataSourceException
JRUserDataSourceException - if a data access error occurs