Java Utililty Methods URL is Absolute

List of utility methods to do URL is Absolute

Description

The list of methods to do URL is Absolute are organized into topic(s).

Method

booleanisAbsoluteURL(String url)
is Absolute URL
String urlLC = url.toLowerCase().trim();
return urlLC.startsWith("http://") || urlLC.startsWith("https://") || urlLC.startsWith("ftp://")
        || urlLC.startsWith("file://") || urlLC.startsWith("//");
booleanisAbsoluteURL(String url)
Return true if the URL given in parameter is absolute
if (url.startsWith("file:/") || (url.startsWith("http:/"))) {
    return true;
return false;