base/common/src/main/com/thesett/common/util/PropertiesHelper.java
private static boolean isURL(String name)
    {
        return (name.toLowerCase().startsWith("http:") || name.toLowerCase().startsWith("ftp:") ||
            name.toLowerCase().startsWith("uucp:"));
    }
private static boolean isURL(String name)
    {
        return (name.toLowerCase().startsWith("http:") || name.toLowerCase().startsWith("ftp:") ||
            name.toLowerCase().startsWith("uucp:"));
    }
private static boolean isURL ( String name ) { return ( name . toLowerCase ( ) . startsWith ( "http:" ) || name . toLowerCase ( ) . startsWith ( "ftp:" ) || name . toLowerCase ( ) . startsWith ( "uucp:" ) ) ; }
Helper method. Guesses whether a string is a URL or not. A String is considered to be a url if it begins with
http:, ftp:, or uucp:.

@param  name The string to test for being a URL.

@return True if the string is a URL and false if not.
Helper method . Guesses whether a string is a URL or not . A String is considered to be a url if it begins with http : ftp : or uucp : .