com.funambol.storage
Class StringKeyValueSQLiteStore.DatabaseHelper

java.lang.Object
  extended by SQLiteOpenHelper
      extended by com.funambol.storage.StringKeyValueSQLiteStore.DatabaseHelper
Enclosing class:
StringKeyValueSQLiteStore

public class StringKeyValueSQLiteStore.DatabaseHelper
extends SQLiteOpenHelper

Helps on creating and upgrading the SQLite db.


Constructor Summary
StringKeyValueSQLiteStore.DatabaseHelper(Context context, java.lang.String dbName, java.lang.String tableName)
           
 
Method Summary
 void onCreate(SQLiteDatabase db)
           
 void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringKeyValueSQLiteStore.DatabaseHelper

public StringKeyValueSQLiteStore.DatabaseHelper(Context context,
                                                java.lang.String dbName,
                                                java.lang.String tableName)
Method Detail

onCreate

public void onCreate(SQLiteDatabase db)

onUpgrade

public void onUpgrade(SQLiteDatabase db,
                      int oldVersion,
                      int newVersion)


Copyright © 2001-2009 Funambol.