public class CombinedInputStream extends SequenceInputStream implements Iterable<InputStream>
SequenceInputStream sub-class which allows direct access to the pair of InputStream's.
When ever you need to "combine" two InputStream's you should use this class as it may allow the Transport to optimize the transfer of it!| Constructor and Description |
|---|
CombinedInputStream(InputStream s1,
InputStream s2) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<InputStream> |
iterator() |
available, close, read, readmark, markSupported, read, reset, skippublic CombinedInputStream(InputStream s1, InputStream s2)
public Iterator<InputStream> iterator()
iterator in interface Iterable<InputStream>Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.