public static boolean isUrl(String resourceLocation){
  return (resourceLocation != null && (resourceLocation.startsWith(ResourcePatternResolver.CLASSPATH_ALL_URL_PREFIX) || ResourceUtils.isUrl(resourceLocation)));
}

public static boolean isUrl ( String resourceLocation ) { return ( resourceLocation != null && ( resourceLocation . startsWith ( ResourcePatternResolver . CLASSPATH_ALL_URL_PREFIX ) || ResourceUtils . isUrl ( resourceLocation ) ) ) ; }
return whether the given resource location is a url : either a special " classpath " or " classpath * " pseudo url or a standard url .
