org.apache.commons.ssl
Class ComboInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.ssl.ComboInputStream
- All Implemented Interfaces:
- Closeable
public class ComboInputStream
- extends InputStream
- Since:
- 22-Feb-2007
- Author:
- Credit Union Central of British Columbia, www.cucbc.com, juliusdavies@cucbc.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
headDone
private boolean headDone
head
private InputStream head
tail
private InputStream tail
ComboInputStream
public ComboInputStream(InputStream head,
InputStream tail)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException