public Properties findProperties(String uri) throws IOException {
  String fulluri=_path + uri;
  URL resource=getResource(fulluri);
  if (resource == null) {
    throw new IOException("Could not find resource: " + fulluri);
  }
  return loadProperties(resource);
}

public Properties findProperties ( String uri ) throws IOException { String fulluri = _path + uri ; URL resource = getResource ( fulluri ) ; if ( resource == null ) { throw new IOException ( "Could not find resource: " + fulluri ) ; } return loadProperties ( resource ) ; }
finds the corresponding resource and reads it in as a properties file < p / > example classpath : < p / > meta - inf / widget . properties < p / > resourcefinder finder = new resourcefinder ( " meta - inf / " ) ; properties widgetprops = finder . findproperties ( " widget . properties " ) ;
