Method Summary |
|
public URL | find(String uri) |
public List<URL> | findAll(String uri) |
public List<Class> | findAllClasses(String uri) Executes findAllStrings assuming the strings are
the names of a classes that should be loaded and returned. |
public List<Class> | findAllImplementations(Class interfase) Assumes the class specified points to a file in the classpath that contains
the name of a class that implements or is a subclass of the specfied class. |
public List<Properties> | findAllProperties(String uri) Finds the corresponding resources and reads them in as a properties files
Any URL that cannot be read in as a properties file will cause an exception to be thrown. |
public List<String> | findAllStrings(String uri) Reads the contents of the found URLs as a list of
String 's and returns them. |
public List<Class> | findAvailableClasses(String uri) Executes findAvailableStrings assuming the strings are
the names of a classes that should be loaded and returned. |
public List<Class> | findAvailableImplementations(Class interfase) Assumes the class specified points to a file in the classpath that contains
the name of a class that implements or is a subclass of the specfied class. |
public List<Properties> | findAvailableProperties(String uri) Finds the corresponding resources and reads them in as a properties files
Any URL that cannot be read in as a properties file will be added to the
'resourcesNotLoaded' collection. |
public List<String> | findAvailableStrings(String uri) Reads the contents of the found URLs as a Strings and returns them. |
public Class | findClass(String uri) Executes
ResourceFinder.findString(String) assuming the contents URL found is the name of
a class that should be loaded and returned. |
public Class | findImplementation(Class interfase) Assumes the class specified points to a file in the classpath that contains
the name of a class that implements or is a subclass of the specfied class. |
public Properties | findProperties(String uri) |
public String | findString(String uri) Reads the contents of the URL as a
String 's and returns it. |
public Map<String, URL> | getResourcesMap(String uri) |
public List<String> | getResourcesNotLoaded() Returns a list of resources that could not be loaded in the last invoked findAvailable* or
mapAvailable* methods. |
public Map<String, Class> | mapAllClasses(String uri) Executes mapAllStrings assuming the value of each entry in the
map is the name of a class that should be loaded. |
public Map<String, Class> | mapAllImplementations(Class interfase) Assumes the class specified points to a directory in the classpath that holds files
containing the name of a class that implements or is a subclass of the specfied class. |
public Map<String, Properties> | mapAllProperties(String uri) Finds the corresponding resources and reads them in as a properties files
Any URL that cannot be read in as a properties file will cause an exception to be thrown. |
public Map<String, String> | mapAllStrings(String uri) Reads the contents of all non-directory URLs immediately under the specified
location and returns them in a map keyed by the file name. |
public Map<String, Class> | mapAvailableClasses(String uri) Executes mapAvailableStrings assuming the value of each entry in the
map is the name of a class that should be loaded. |
public Map<String, Class> | mapAvailableImplementations(Class interfase) Assumes the class specified points to a directory in the classpath that holds files
containing the name of a class that implements or is a subclass of the specfied class. |
public Map<String, Properties> | mapAvailableProperties(String uri) Finds the corresponding resources and reads them in as a properties files
Any URL that cannot be read in as a properties file will be added to the
'resourcesNotLoaded' collection. |
public Map<String, String> | mapAvailableStrings(String uri) Reads the contents of all non-directory URLs immediately under the specified
location and returns them in a map keyed by the file name. |