org.hecl.rms
Class RMSInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.hecl.rms.RMSInputStream
All Implemented Interfaces:
java.io.Closeable

public class RMSInputStream
extends java.io.InputStream


Constructor Summary
RMSInputStream(java.lang.String storename)
           
 
Method Summary
 int available()
           
 void close()
           
protected  void fillBuffer()
           
 int getSize()
           
 void mark(int readLimit)
           
 boolean markSupported()
           
 int read()
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.InputStream
read, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMSInputStream

public RMSInputStream(java.lang.String storename)
               throws java.io.IOException
Throws:
java.io.IOException
Method Detail

available

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

close

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

getSize

public int getSize()

mark

public void mark(int readLimit)
Overrides:
mark in class java.io.InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

read

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

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.InputStream
Throws:
java.io.IOException

skip

public long skip(long n)
          throws java.io.IOException
Overrides:
skip in class java.io.InputStream
Throws:
java.io.IOException

fillBuffer

protected void fillBuffer()
                   throws java.io.IOException
Throws:
java.io.IOException