public class

DBDumpUtil

extends Object
java.lang.Object
   ↳ com.tencent.wcdb.repair.DBDumpUtil

This class is deprecated.
Use RepairKit for database corruption recovery.

Class Overview

Interface to database recovery dump utility from SQLite command-line tools.

Summary

Nested Classes
interface DBDumpUtil.ExecuteSqlCallback This interface is deprecated. Use RepairKit for database corruption recovery.  
Public Constructors
DBDumpUtil()
Public Methods
static String buildColumnsString(ArrayList<String> columns)
static boolean doRecoveryDb(SQLiteDatabase db, String crashDbPath, String key, String outputPath, List<String> filterTable, List<String> destTables, DBDumpUtil.ExecuteSqlCallback callback, boolean needDeleteAfterSuccess)
static boolean doRecoveryDb(SQLiteDatabase db, String crashDbPath, String key, String outputPath)
static ArrayList<String> getColumnNamesFromSql(String sql)
static String getTableNameFromSql(String sql)
static byte[] readFromFile(String path)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DBDumpUtil ()

Public Methods

public static String buildColumnsString (ArrayList<String> columns)

public static boolean doRecoveryDb (SQLiteDatabase db, String crashDbPath, String key, String outputPath, List<String> filterTable, List<String> destTables, DBDumpUtil.ExecuteSqlCallback callback, boolean needDeleteAfterSuccess)

public static boolean doRecoveryDb (SQLiteDatabase db, String crashDbPath, String key, String outputPath)

public static ArrayList<String> getColumnNamesFromSql (String sql)

public static String getTableNameFromSql (String sql)

public static byte[] readFromFile (String path)