org.siebengeisslein.core
Class DataStoreState
java.lang.Object
org.siebengeisslein.core.TwoFile
org.siebengeisslein.core.DataStoreState
public class DataStoreState
- extends TwoFile
|
Constructor Summary |
DataStoreState(java.lang.String name,
boolean create)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataStoreState
public DataStoreState(java.lang.String name,
boolean create)
throws java.io.IOException
- Throws:
java.io.IOException
init
protected void init()
throws java.io.IOException
- Specified by:
init in class TwoFile
- Throws:
java.io.IOException
read
protected void read(java.io.RandomAccessFile file)
throws java.io.IOException
- Specified by:
read in class TwoFile
- Throws:
java.io.IOException
write
protected void write(java.io.RandomAccessFile file)
throws java.io.IOException
- Specified by:
write in class TwoFile
- Throws:
java.io.IOException
getActiveFile
public int getActiveFile()
startCompressing
public void startCompressing()
throws java.io.IOException
- Throws:
java.io.IOException
endCompressing
public void endCompressing()
throws java.io.IOException
- Throws:
java.io.IOException
isCompressing
public boolean isCompressing()
setCompressing
public void setCompressing(boolean compressing)