pl.edu.pjwstk.yaod.store.defaultstore
Class Datafile
java.lang.Object
|
+--pl.edu.pjwstk.yaod.store.defaultstore.Datafile
- public class Datafile
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Datafile
public Datafile(DatafileDescriptor info)
getDatafileDescriptor
public DatafileDescriptor getDatafileDescriptor()
isOpen
public boolean isOpen()
countBlocks
public int countBlocks()
open
public void open()
throws java.io.FileNotFoundException
close
public void close()
throws java.io.IOException
writeBlock
public void writeBlock(DatabaseBlock block)
throws java.io.IOException
readBlock
public DatabaseBlockSection readBlock(int blNum)
throws java.lang.Exception