org.openmobileis.database.fastobjectdb.db.store
Class FODBObjectDatabaseFile
java.lang.Object
|
+--org.openmobileis.database.fastobjectdb.db.store.FODBObjectDatabaseFile
- All Implemented Interfaces:
- TransactionFile
- public class FODBObjectDatabaseFile
- extends java.lang.Object
- implements TransactionFile
Title: OpenMobileIS project source
Description: Low level classe that store Object in a file.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEL_LIST_END
protected static final long DEL_LIST_END
IS_DELETED
protected static final byte IS_DELETED
IS_ACTIVE
protected static final byte IS_ACTIVE
dataFile
protected java.io.RandomAccessFile dataFile
fileName
protected java.lang.String fileName
firstDel
protected long firstDel
FODBObjectDatabaseFile
public FODBObjectDatabaseFile(java.lang.String name)
throws java.io.IOException
FODBObjectDatabaseFile
public FODBObjectDatabaseFile(java.io.File file)
throws java.io.IOException
constructorHelper
protected void constructorHelper()
throws java.io.IOException
writeObject
public long writeObject(java.lang.Object obj)
throws java.io.IOException
rewriteObject
public void rewriteObject(java.lang.Object obj)
throws java.io.IOException
readObject
public java.lang.Object readObject()
throws java.io.IOException,
java.lang.ClassNotFoundException
delete
public void delete()
throws java.io.IOException
rewind
public void rewind()
throws java.io.IOException
skip
public void skip()
throws java.io.IOException
getFileName
public java.lang.String getFileName()
getFD
public final java.io.FileDescriptor getFD()
throws java.io.IOException
getFilePointer
public long getFilePointer()
throws java.io.IOException
seek
public void seek(long pos)
throws java.io.IOException
length
public long length()
throws java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface TransactionFile
open
public void open()
throws java.io.IOException
- Specified by:
open
in interface TransactionFile
Copyright 2005 e-Care. All Rights Reserved.