|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
com.jaxfront.core.util.io.CombinedInputStream
public class CombinedInputStream
Reads multiple Inputstreams as one
| Constructor Summary | |
|---|---|
CombinedInputStream(java.io.InputStream[] streams)
Constructs an combined InputStream, that reads from array stream per stream, till the last stream |
|
| Method Summary | |
|---|---|
int |
available()
Is there more data to read |
void |
close()
Closes all streams |
int |
read()
Reads from the list of streams, when the last stream is over, -1 will be returned (as usual) |
| Methods inherited from class java.io.InputStream |
|---|
mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CombinedInputStream(java.io.InputStream[] streams)
streams - All Streams that will be combined| Method Detail |
|---|
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOException
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||