de.intarsys.tools.stream
Class ConcatInputStream
java.lang.Object
java.io.InputStream
de.intarsys.tools.stream.ConcatInputStream
- All Implemented Interfaces:
- Closeable
public class ConcatInputStream
- extends InputStream
A stream that reads from all its inputs until all are empty.
ConcatInputStream
public ConcatInputStream()
addInput
public void addInput(InputStream input)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.