public SQLiteDatabaseConfiguration(String path,int openFlags){
  if (path == null) {
    throw new IllegalArgumentException("path must not be null.");
  }
  this.path=path;
  label=stripPathForLogs(path);
  this.openFlags=openFlags;
  maxSqlCacheSize=25;
  locale=Locale.getDefault();
}

public SQLiteDatabaseConfiguration ( String path , int openFlags ) { if ( path == null ) { throw new IllegalArgumentException ( "path must not be null." ) ; } this . path = path ; label = stripPathForLogs ( path ) ; this . openFlags = openFlags ; maxSqlCacheSize = 25 ; locale = Locale . getDefault ( ) ; }
creates a database configuration with the required parameters for opening a database and default values for all other parameters .
