public Resource getResource(String s) {
      int i = 0;
      for (Loader loader; (loader = getLoader(i)) != null; i++) {
        Resource resource = loader.getResource(s);
        if (resource != null) {
          return resource;
        }
      }

      return null;
    }
public Resource getResource(String s)