|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--suncertify.db.util.DbFile
Simple class allowing exclusion control to the random access file
RandomAccessFile| Constructor Summary | |
DbFile(java.lang.String fileName)
Constructor for DbFile class. |
|
| Method Summary | |
void |
closeDBFile()
The method close the file |
void |
finalize()
somebody should close the file..... |
java.io.RandomAccessFile |
getDBFile()
The method gets exclusive access to the file, returns the data base access file |
void |
releaseDBFile()
The method releases the exclusive access, so othres threads may use the file |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DbFile(java.lang.String fileName)
throws java.io.FileNotFoundException
java.io.FileNotFoundException - - thrown if file was not found| Method Detail |
public java.io.RandomAccessFile getDBFile()
public void releaseDBFile()
public void closeDBFile()
public void finalize()
finalize in class java.lang.Objectjava.lang.Object#finalize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||