-
Notifications
You must be signed in to change notification settings - Fork 1
/
D.java
101 lines (74 loc) · 3.21 KB
/
D.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package yogesh.firzen.mukkiasevaigal;
import android.content.Context;
import android.database.DatabaseErrorHandler;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.Build;
import android.support.annotation.RequiresApi;
import java.io.File;
/**
* Created by user on 10-05-2016.
*/
@RequiresApi(Build.VERSION_CODES.HONEYCOMB)
public class D {
private DB db;
public static void createDB(Context context, String name) {
//db =
}
private class DB extends SQLiteOpenHelper {
private DB(Context context, String db) {
super(context, db, null, 1, null);
}
private DB(Context context, String db, DatabaseErrorHandler handler) {
super(context, db, null, 1, handler);
}
private DB(Context context, String db, int ver) {
super(context, db, null, ver, null);
}
private DB(Context context, String db, int ver, DatabaseErrorHandler handler) {
super(context, db, null, ver, handler);
}
private DB(Context context, String db, SQLiteDatabase.CursorFactory factory) {
super(context, db, factory, 1, null);
}
private DB(Context context, String db, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler handler) {
super(context, db, factory, 1, handler);
}
private DB(Context context, String db, SQLiteDatabase.CursorFactory factory, int ver) {
super(context, db, factory, ver, null);
}
private DB(Context context, String db, SQLiteDatabase.CursorFactory factory, int ver, DatabaseErrorHandler handler) {
super(context, db, factory, ver, handler);
}
private DB(Context context, File db) {
super(context, db.getAbsolutePath(), null, 1, null);
}
private DB(Context context, File db, DatabaseErrorHandler handler) {
super(context, db.getAbsolutePath(), null, 1, handler);
}
private DB(Context context, File db, int ver) {
super(context, db.getAbsolutePath(), null, ver, null);
}
private DB(Context context, File db, int ver, DatabaseErrorHandler handler) {
super(context, db.getAbsolutePath(), null, ver, handler);
}
private DB(Context context, File db, SQLiteDatabase.CursorFactory factory) {
super(context, db.getAbsolutePath(), factory, 1, null);
}
private DB(Context context, File db, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler handler) {
super(context, db.getAbsolutePath(), factory, 1, handler);
}
private DB(Context context, File db, SQLiteDatabase.CursorFactory factory, int ver) {
super(context, db.getAbsolutePath(), factory, ver, null);
}
private DB(Context context, File db, SQLiteDatabase.CursorFactory factory, int ver, DatabaseErrorHandler handler) {
super(context, db.getAbsolutePath(), factory, ver, handler);
}
@Override
public void onCreate(SQLiteDatabase db) {
}
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
}
}
}