added in version 1.1.0
belongs to Maven artifact android.arch.persistence:db-framework:1.1.0-beta2

FrameworkSQLiteOpenHelperFactory

public final class FrameworkSQLiteOpenHelperFactory
extends Object implements SupportSQLiteOpenHelper.Factory

java.lang.Object
   ↳ android.arch.persistence.db.framework.FrameworkSQLiteOpenHelperFactory


Implements SupportSQLiteOpenHelper.Factory using the SQLite implementation in the framework.

Summary

Public constructors

FrameworkSQLiteOpenHelperFactory()

Public methods

SupportSQLiteOpenHelper create(SupportSQLiteOpenHelper.Configuration configuration)

Creates an instance of SupportSQLiteOpenHelper using the given configuration.

Inherited methods

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()
abstract SupportSQLiteOpenHelper create(SupportSQLiteOpenHelper.Configuration configuration)

Creates an instance of SupportSQLiteOpenHelper using the given configuration.

Public constructors

FrameworkSQLiteOpenHelperFactory

added in version 1.1.0
FrameworkSQLiteOpenHelperFactory ()

Public methods

create

added in version 1.1.0
SupportSQLiteOpenHelper create (SupportSQLiteOpenHelper.Configuration configuration)

Creates an instance of SupportSQLiteOpenHelper using the given configuration.

Parameters
configuration SupportSQLiteOpenHelper.Configuration: The configuration to use while creating the open helper.

Returns
SupportSQLiteOpenHelper A SupportSQLiteOpenHelper which can be used to open a database.