public static URL findResourceBase(String baseResource,ClassLoader loader){
  URL url=loader.getResource(baseResource);
  return findResourceBase(url,baseResource);
}

public static URL findResourceBase ( String baseResource , ClassLoader loader ) { URL url = loader . getResource ( baseResource ) ; return findResourceBase ( url , baseResource ) ; }
find the classpath url for a specific classpath resource . the classpath url is extracted from loader . getresource ( ) using the baseresource .
