|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
ariba.util.io.CombinedInputStream
public class CombinedInputStream
Is the input stream contained by stream a collection of streams one after another moving to the next one when one is exhausted.
Constructor Summary | |
---|---|
CombinedInputStream(java.io.InputStream[] streams)
Constructs a new instance. |
|
CombinedInputStream(java.util.List<java.io.InputStream> streams)
Constructs a new instance. |
Method Summary | |
---|---|
int |
available()
As specified in superclass. |
void |
close()
Closes all the streams in this (even if an exception occurs.) |
int |
read()
As specified in superclass. |
int |
read(byte[] bytes,
int offset,
int length)
As specified in superclass. |
Methods inherited from class java.io.InputStream |
---|
mark, markSupported, 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)
public CombinedInputStream(java.util.List<java.io.InputStream> streams)
Method Detail |
---|
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |