|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
java.io.InputStream |
createInputStream(java.lang.String connectionName)
Creates a new input stream. |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |