org.openmobileis.database.fastobjectdb.db.store
Class FODBMainFile
java.lang.Object
org.openmobileis.database.fastobjectdb.db.store.FODBMainFile
- public class FODBMainFile
- extends java.lang.Object
FODBMainFile is a Class that defines simple functions to
access our data file.
It's also responsible of the way the database file is structured.
It defines static variables ACTION_CREATE and ACTION_OPEN
which are private. It uses them in its constructor. Other functions
don't have to know them.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createDbFile
public static FODBMainFile createDbFile(java.lang.String filePath)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
openDbFile
public static FODBMainFile openDbFile(java.lang.String filePath)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
addCollection
public java.lang.String addCollection(java.lang.String collectionName)
throws java.io.IOException
- Throws:
java.io.IOException
getCollectionsList
public java.lang.String[] getCollectionsList()
Copyright 2005 e-Care. All Rights Reserved.