org.solovyev.android.db
Class CommonSQLiteOpenHelper

java.lang.Object
  extended by android.database.sqlite.SQLiteOpenHelper
      extended by org.solovyev.android.db.CommonSQLiteOpenHelper

public class CommonSQLiteOpenHelper
extends android.database.sqlite.SQLiteOpenHelper

User: serso Date: 6/3/12 Time: 4:35 PM


Field Summary
protected  android.content.Context context
           
 
Constructor Summary
CommonSQLiteOpenHelper(android.content.Context context, SQLiteOpenHelperConfiguration configuration)
           
 
Method Summary
 String convertStreamToString(InputStream is)
           
 void onCreate(android.database.sqlite.SQLiteDatabase db)
           
 void onUpgrade(android.database.sqlite.SQLiteDatabase db, int oldVersion, int newVersion)
           
 
Methods inherited from class android.database.sqlite.SQLiteOpenHelper
close, getDatabaseName, getReadableDatabase, getWritableDatabase, onConfigure, onDowngrade, onOpen, setWriteAheadLoggingEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

@Nonnull
protected final android.content.Context context
Constructor Detail

CommonSQLiteOpenHelper

public CommonSQLiteOpenHelper(@Nonnull
                              android.content.Context context,
                              @Nonnull
                              SQLiteOpenHelperConfiguration configuration)
Method Detail

onCreate

public void onCreate(@Nonnull
                     android.database.sqlite.SQLiteDatabase db)
Specified by:
onCreate in class android.database.sqlite.SQLiteOpenHelper

onUpgrade

public void onUpgrade(@Nonnull
                      android.database.sqlite.SQLiteDatabase db,
                      int oldVersion,
                      int newVersion)
Specified by:
onUpgrade in class android.database.sqlite.SQLiteOpenHelper

convertStreamToString

@Nonnull
public String convertStreamToString(InputStream is)


Copyright © 2013. All Rights Reserved.