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;
}

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 ; }
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 '
