code: public List<String> findAvailableStrings(String uri) throws IOException {
          resourcesNotLoaded.clear();
          String fulluri = path + uri;
  
          List<String> strings = new ArrayList<>();
  
          Enumeration<URL> resources = getResources(fulluri);
          while (resources.hasMoreElements()) {
              URL url = resources.nextElement();
              try {
                  String string = readContents(url);
                  strings.add(string);
              } catch (IOException notAvailable) {
                  resourcesNotLoaded.add(url.toExternalForm());
              }
          }
          return strings;
      }
docs: Reads the contents of the found URLs as a Strings and returns them.
  Individual URLs that cannot be read are skipped and added to the
  list of 'resourcesNotLoaded'
  
  @param uri
  @return a list of the content of each resource URL found
  @throws IOException if classLoader.getResources throws an exception