jet.datasource
Interface InputStreamFactory


public interface InputStreamFactory

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

Copyright: Copyright (c) 2006

Company: jinfonet

Purpose: Order to create more than one input stream, all the stream have same data, but different object. Prerequisite: Have a original uri, file or stream.

Since:
JReport V8.1

Method Summary
 java.io.InputStream createInputStream()
          Create a new input stream.
 

Method Detail

createInputStream

java.io.InputStream createInputStream()
                                      throws java.io.IOException
Create a new input stream.

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