Locate Wicket resource.
Contains the logic to locate a resource based on a path, a style (see {@link org.apache.wicket.Session}), a locale and an extension string. The full filename will be built like: <path>_<style>_<locale>.<extension>.
Resource matches will be attempted in the following order:
- 1. <path>_<style>_<locale>.<extension>
- 2. <path>_<locale>.<extension>
- 3. <path>_<style>.<extension>
- 4. <path>.<extension>
Locales may contain a language, a country and a region or variant. Combinations of these components will be attempted in the following order:
- locale.toString() see javadoc for Locale for more details
- <language>_<country>
- <language>
@author Juergen Donnerstag
@author Jonathan Locke