public List<Class<?>> findAvailableClasses(String uri) throws IOException {
  _resourcesNotLoaded.clear();
  List<Class<?>> classes=new ArrayList<>();
  List<String> strings=findAvailableStrings(uri);
  for (  String className : strings) {
    try {
      Class<?> clazz=_classLoader.loadClass(className);
      classes.add(clazz);
    }
 catch (    Exception notAvailable) {
      _resourcesNotLoaded.add(className);
    }
  }
  return classes;
}

public List < Class < ? > > findAvailableClasses ( String uri ) throws IOException { _resourcesNotLoaded . clear ( ) ; List < Class < ? > > classes = new ArrayList < > ( ) ; List < String > strings = findAvailableStrings ( uri ) ; for ( String className : strings ) { try { Class < ? > clazz = _classLoader . loadClass ( className ) ; classes . add ( clazz ) ; } catch ( Exception notAvailable ) { _resourcesNotLoaded . add ( className ) ; } } return classes ; }
executes findavailablestrings assuming the strings are the names of a classes that should be loaded and returned . < p / > any class that cannot be loaded will be skipped and placed in the ' resourcesnotloaded ' collection .
