ahc.io
Class ConcatInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--ahc.io.ConcatInputStream
- public class ConcatInputStream
- extends java.io.InputStream
This class provides an input stream that concatenates one or more other input streams, i.e. first the data in
the first is retured, then the second, then the third etc.
- Author:
- Arno Haase
| Methods inherited from class java.io.InputStream |
mark, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcatInputStream
public ConcatInputStream()
add
public void add(java.io.InputStream is)
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
java.io.IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported in class java.io.InputStream
close
public void close()
throws java.io.IOException
- Overrides:
close in class java.io.InputStream
java.io.IOException
available
public int available()
throws java.io.IOException
- Overrides:
available in class java.io.InputStream
java.io.IOException