|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.biosoft.util.FileBuffer
RandomAccessBuffer provides buffered reading/writing of random access file Class provides fast access for extracting of sequential data.
| Constructor Summary | |
FileBuffer()
|
|
| Method Summary | |
abstract void |
close()
Closes the buffer. |
abstract byte |
read(int pos)
Reads one byte from requested position. |
abstract void |
write(int pos,
byte bt)
Writes one byte to the requested position in the buffer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileBuffer()
| Method Detail |
public abstract byte read(int pos)
throws java.io.IOException
pos - position of requested byte
java.io.IOException - If any I/O errors
public abstract void write(int pos,
byte bt)
throws java.io.IOException
pos - position of requested bytebt - stored byte
java.io.IOException - If any I/O errors
public abstract void close()
throws java.io.IOException
java.io.IOException - if an I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||