org.apache.commons.ssl
Class ComboInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.apache.commons.ssl.ComboInputStream

public class ComboInputStream
extends InputStream

Since:
22-Feb-2007
Author:
Credit Union Central of British Columbia, www.cucbc.com, juliusdavies@cucbc.com

Field Summary
private  InputStream head
           
private  boolean headDone
           
private  InputStream tail
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
ComboInputStream(InputStream head, InputStream tail)
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headDone

private boolean headDone

head

private InputStream head

tail

private InputStream tail
Constructor Detail

ComboInputStream

public ComboInputStream(InputStream head,
                        InputStream tail)
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

available

public int available()
              throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Throws:
IOException