logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java
public File getDatabaseFile(String filename) {
    File dbFile = null;
    if (filename != null && filename.trim().length() > 0) {
      dbFile = new File(filename);
    }
    if (dbFile == null || dbFile.isDirectory()) {
      dbFile = new File(new AndroidContextUtil().getDatabasePath("logback.db"));
    }
    return dbFile;
  }
public File getDatabaseFile(String filename) {
    File dbFile = null;
    if (filename != null && filename.trim().length() > 0) {
      dbFile = new File(filename);
    }
    if (dbFile == null || dbFile.isDirectory()) {
      dbFile = new File(new AndroidContextUtil().getDatabasePath("logback.db"));
    }
    return dbFile;
  }
public File getDatabaseFile ( String filename ) { File dbFile = null ; if ( filename != null && filename . trim ( ) . length ( ) > 0 ) { dbFile = new File ( filename ) ; } if ( dbFile == null || dbFile . isDirectory ( ) ) { dbFile = new File ( new AndroidContextUtil ( ) . getDatabasePath ( "logback.db" ) ) ; } return dbFile ; }
Gets a file object from a file path to a SQLite database
@param filename absolute path to database file
@return the file object if a valid file found; otherwise, null
Gets a file object from a file path to a SQLite database