net.i2p.router.transport
Class FakeInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bynet.i2p.router.transport.FakeInputStream

public class FakeInputStream
extends java.io.InputStream

Read up to a specified number of bytes, then EOF. Uses pretty much no memory.


Constructor Summary
FakeInputStream(int size)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeInputStream

public FakeInputStream(int size)
Method Detail

read

public int read()