public static boolean isSSH(String uri){
  return uri != null && uri.startsWith("svn+ssh://");
}

public static boolean isSSH ( String uri ) { return uri != null && uri . startsWith ( "svn+ssh://" ) ; }
indicates if uri represents ssh connection .
