net.java.sen.io
Class FullBufferedReader

java.lang.Object
  extended bynet.java.sen.io.FullBufferedReader
All Implemented Interfaces:
FileAccessor

public class FullBufferedReader
extends java.lang.Object
implements FileAccessor


Constructor Summary
FullBufferedReader(java.io.File file)
           
FullBufferedReader(java.lang.String name)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] b, int start, int length)
           
 int readInt()
           
 short readShort()
           
 void seek(int pos)
           
 void seek(long pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullBufferedReader

public FullBufferedReader(java.lang.String name)
                   throws java.io.IOException

FullBufferedReader

public FullBufferedReader(java.io.File file)
                   throws java.io.IOException
Method Detail

seek

public void seek(int pos)
          throws java.io.IOException
Specified by:
seek in interface FileAccessor
Throws:
java.io.IOException

seek

public void seek(long pos)
          throws java.io.IOException
Throws:
java.io.IOException

readShort

public short readShort()
Specified by:
readShort in interface FileAccessor

readInt

public int readInt()
Specified by:
readInt in interface FileAccessor

read

public int read()
Specified by:
read in interface FileAccessor

read

public int read(byte[] b,
                int start,
                int length)
Specified by:
read in interface FileAccessor

close

public void close()
           throws java.io.IOException
Specified by:
close in interface FileAccessor
Throws:
java.io.IOException