public interface InputStreamFactory
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.| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
createInputStream(java.lang.String connectionName)
Creates a new input stream.
|
java.io.InputStream createInputStream(java.lang.String connectionName)
throws java.io.IOException
IOException: - IOException occurs when original data is invalid.
eg. error uri, specified file not exist.java.io.IOException