ioio.lib.impl
Class QueueInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by ioio.lib.impl.QueueInputStream
All Implemented Interfaces:
java.io.Closeable

public class QueueInputStream
extends java.io.InputStream


Constructor Summary
QueueInputStream()
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 void write(byte[] data, int size)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueInputStream

public QueueInputStream()
Method Detail

read

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

write

public void write(byte[] data,
                  int size)

available

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

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream