@Override
  public final void restoreDatabase(final String pDbName) throws Exception {
    String encPath = this.backupDir + File.separator + pDbName + ".sqlten";
    File dbBkFile = new File(encPath);
    if (dbBkFile.exists()) {
      this.cryptoHelper.decryptFile(encPath,
        this.databaseDir + File.separator + pDbName + ".sqlite");
    }
  }
@ Override public final void restoreDatabase ( final String pDbName ) throws Exception { String encPath = this . backupDir + File . separator + pDbName + ".sqlten" ; File dbBkFile = new File ( encPath ) ; if ( dbBkFile . exists ( ) ) { this . cryptoHelper . decryptFile ( encPath , this . databaseDir + File . separator + pDbName + ".sqlite" ) ; } }
<p>Restore database from backup.</p>
@param pDbName database name without extension
@throws Exception - an exception