code: @Override
      public Resource getResource(String path) {
  	int index = path.indexOf("://");
  	if (index != -1) {
  	    String scheme = path.substring(0, index).toLowerCase().trim();
  	    String subPath = path.substring(index + 3);
  	    for (int i = 0; i < resources.length; i++) {
  		if (scheme.equalsIgnoreCase(resources[i].getScheme())) {
  		    return resources[i].instance().getResource(subPath);
  		}
  	    }
  	}
  	return defaultResource.getResource(path);
      }
docs: returns a resource that matching the given path
  
  @param path
  @return matching resource