com.infoengine.procunit.adapter
Class Adapter.AdapterInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bycom.infoengine.procunit.adapter.Adapter.AdapterInputStream
Enclosing class:
Adapter

private class Adapter.AdapterInputStream
extends InputStream

The following inner classes wrap InputStream and OutputStream in order to prevent their close() methods from closing the sockets from which they are derived.


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

Field Detail

is

private InputStream is
Constructor Detail

Adapter.AdapterInputStream

public Adapter.AdapterInputStream(InputStream is)
Method Detail

available

public int available()
              throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

mark

public void mark(int readLimit)

markSupported

public boolean markSupported()

read

public int read()
         throws IOException
Throws:
IOException

read

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

read

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

reset

public void reset()
           throws IOException
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Throws:
IOException