public static boolean isLocalDB(String dbURL) throws InvalidException {
  if (dbURL == null) {
    throw new InvalidException("dbURL is not set");
  }
  return dbURL.startsWith("local:") || dbURL.startsWith("plocal");
}

public static boolean isLocalDB ( String dbURL ) throws InvalidException { if ( dbURL == null ) { throw new InvalidException ( "dbURL is not set" ) ; } return dbURL . startsWith ( "local:" ) || dbURL . startsWith ( "plocal" ) ; }
whether the url represents a local db
