com.sun.jimi.util
Class MemoryRandomAccessStorage.MemoryInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--com.sun.jimi.util.MemoryRandomAccessStorage.MemoryInputStream

protected class MemoryRandomAccessStorage.MemoryInputStream
extends java.io.InputStream

InputStream wrapper class.


Field Summary
protected  MemoryRandomAccessStorage memStorage
           
 
Constructor Summary
protected MemoryRandomAccessStorage.MemoryInputStream()
           
 
Method Summary
 int read()
           
 int read(byte[] buffer)
           
 int read(byte[] buffer, int offset, int length)
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

memStorage

protected MemoryRandomAccessStorage memStorage
Constructor Detail

MemoryRandomAccessStorage.MemoryInputStream

protected MemoryRandomAccessStorage.MemoryInputStream()
Method Detail

read

public int read()
Overrides:
read in class java.io.InputStream

read

public int read(byte[] buffer,
                int offset,
                int length)
Overrides:
read in class java.io.InputStream

read

public int read(byte[] buffer)
Overrides:
read in class java.io.InputStream