com.ibm.di.util
Class StreamConnection

java.lang.Object
  extended by com.ibm.di.util.StreamConnection

public class StreamConnection
extends Object


Constructor Summary
StreamConnection(InputStream is, OutputStream os)
           
 
Method Summary
 int read()
           
 int read(byte[] buf)
           
 int read(byte[] buf, int off, int length)
           
 void write(byte[] buf)
           
 void write(ByteBuffer buf)
           
 void write(char[] buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamConnection

public StreamConnection(InputStream is,
                        OutputStream os)
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

read

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

read

public int read(byte[] buf,
                int off,
                int length)
         throws IOException
Throws:
IOException

write

public void write(char[] buf)
           throws IOException
Throws:
IOException

write

public void write(byte[] buf)
           throws IOException
Throws:
IOException

write

public void write(ByteBuffer buf)
           throws IOException
Throws:
IOException