pathOrUrl = pathOrUrl != null ? pathOrUrl.toLowerCase() : null;
    protected static boolean isURL(String pathOrUrl){        return pathOrUrl != null                && (pathOrUrl.startsWith("http://")                        || pathOrUrl.startsWith("https://")                        || pathOrUrl.startsWith("svn://") || pathOrUrl                        .startsWith("svn+ssh://"));    }