java.io
Class PipedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.PipedInputStream

public class PipedInputStream
extends InputStream


Field Summary
protected  byte[] buffer
           
protected  int in
           
protected  int out
           
protected static int PIPE_SIZE
           
 
Constructor Summary
PipedInputStream()
           
PipedInputStream(PipedOutputStream var0)
           
 
Method Summary
 int available()
           
 void close()
           
 void connect(PipedOutputStream var0)
           
 int read()
           
 int read(byte[] var0, int var1, int var2)
           
protected  void receive(int var0)
           
 
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

buffer

protected byte[] buffer

in

protected int in

out

protected int out

PIPE_SIZE

protected static final int PIPE_SIZE
See Also:
Constant Field Values
Constructor Detail

PipedInputStream

public PipedInputStream()

PipedInputStream

public PipedInputStream(PipedOutputStream var0)
                 throws IOException
Throws:
IOException
Method Detail

available

public int available()
              throws IOException
Overrides:
available in class InputStream
Throws:
IOException

close

public void close()
           throws IOException
Overrides:
close in class InputStream
Throws:
IOException

connect

public void connect(PipedOutputStream var0)
             throws IOException
Throws:
IOException

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

read

public int read(byte[] var0,
                int var1,
                int var2)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

receive

protected void receive(int var0)
                throws IOException
Throws:
IOException


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.