|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.biosoft.util.SoftFileBuffer.Buffer
| Constructor Summary | |
protected |
SoftFileBuffer.Buffer(int sz)
|
protected |
SoftFileBuffer.Buffer(int sz,
int readPos)
|
| Method Summary | |
protected void |
finalize()
Stores all buffers and closes random access file |
protected byte |
read(int pos)
Fills buffer from pos minus half size position. |
protected void |
store()
Stores buffer data if it changed |
protected void |
write(int pos,
byte bt)
Writes byte to the specified position of second buffer |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected SoftFileBuffer.Buffer(int sz)
protected SoftFileBuffer.Buffer(int sz,
int readPos)
throws java.io.IOException
| Method Detail |
protected byte read(int pos)
throws java.io.IOException
pos - requested position
java.io.IOException
protected void write(int pos,
byte bt)
throws java.io.IOException
pos - requested positionbt - stored byte
java.io.IOException
protected void store()
throws java.io.IOException
java.io.IOException
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||