com.mmbreakfast.unlod.lod
Class RandomAccessFileInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bycom.mmbreakfast.unlod.lod.RandomAccessFileInputStream

public class RandomAccessFileInputStream
extends InputStream


Field Summary
private  RandomAccessFile file
           
private  long length
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
RandomAccessFileInputStream(RandomAccessFile file)
           
 
Method Summary
 int available()
           
 RandomAccessFile getFile()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
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
 

Field Detail

file

private RandomAccessFile file

length

private long length
Constructor Detail

RandomAccessFileInputStream

public RandomAccessFileInputStream(RandomAccessFile file)
                            throws IOException
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

available

public int available()
              throws IOException
Throws:
IOException

getFile

public RandomAccessFile getFile()