|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--org.jwarp.util.io.MergedInputStream
Merges some input streams into one.
| Field Summary | |
protected int |
curindex
The current input stream index |
protected java.io.InputStream[] |
streams
The several input streams |
| Constructor Summary | |
MergedInputStream(java.io.InputStream[] inputStreams)
Creates a new merged input stream instance containing the streams given by the array. |
|
| Method Summary | |
int |
read()
Read from the stream. |
| Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected final java.io.InputStream[] streams
protected int curindex
| Constructor Detail |
public MergedInputStream(java.io.InputStream[] inputStreams)
inputStream - The input streams| Method Detail |
public int read()
throws java.io.IOException
read in class java.io.InputStream
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||