The default implementation of the {@link IPluginResourceLoader}. Obtains resources by searching the root directory of a {@link PluginClassLoader}.
Resource discovery
{@link PluginResourceLoader} will search the following places for plugin classes:
- the /lib folder under the plugin's root directory, e.g. "myplugin/lib"
{@link PluginResourceLoader} will search for non-class resources in several locations:
- inside jar files located in the lib directory
- from the filesystem relative to the root directory of the plugin
resourcePath
This class requires resource paths to be the relative paths to plugin resources, relative the root directory of the plugin. A resource path can be specified either using '/' or '.' (or both) in the path, depending on the particular method you are using. It is usually best to specify the path using '/' since both the filesystem and the classloader can handle this delimiter, whereas '.' will not be handled correctly if you are trying to load a resource from the filesystem.
Plugin Settings
This class backs the plugin settings APIs with the PentahoSystem settings service. See {@link PentahoSystem#getSystemSetting(String,String)} and {@link ISystemSettings}. System settings are expected in a file named settings.xml in the root of the plugin directory.
@author aphillips