net.java.sen.io
Class MappedBufferedReader
java.lang.Object
net.java.sen.io.MappedBufferedReader
- All Implemented Interfaces:
- FileAccessor
- public class MappedBufferedReader
- extends java.lang.Object
- implements FileAccessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedBufferedReader
public MappedBufferedReader(java.lang.String name)
throws java.io.IOException
MappedBufferedReader
public MappedBufferedReader(java.io.File file)
throws java.io.IOException
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()
throws java.io.IOException
- Specified by:
readShort
in interface FileAccessor
- Throws:
java.io.IOException
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