jet.datasource
Interface InputStreamFactory


public interface InputStreamFactory

The InputStreamFactory is a factory of input steams. It can create more than one input stream which have same data. The original data may be a uri, File or InputStream, then according to original data create new Inoput stream.

Copyright: Copyright (c) 2006

Company: jinfonet

Purpose: To create more than one input stream, all the streams have same data, but different objects. Prerequisite: There is an original uri, file or stream.

Since:
JReport V8.1

Method Summary
 java.io.InputStream createInputStream(java.lang.String connectionName)
          Creates a new input stream.
 

Method Detail

createInputStream

java.io.InputStream createInputStream(java.lang.String connectionName)
                                      throws java.io.IOException
Creates a new input stream.

Throws:
IOException: - IOException occurs when original data is invalid. eg. error uri, specified file not exist.
java.io.IOException
Since:
JReport V8.1