[Google Guava] Guava goodness – loading a file from a directory hierarchy
The case:
- we want to have an ability to override some static resources in the application
- we can have multiple overrides
- there is a hierarchy which decides which file is selected if we have multiple overrides
- the hierarchy is fixed from the most important to the less important directories
The code:
Could not embed GitHub Gist 5236723: API rate limit exceeded for 51.68.11.211. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
The other code 😉 :
Could not embed GitHub Gist 5236774: API rate limit exceeded for 51.68.11.211. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Joy
public HierarchyAwareResourceLoader not public HierarchyAware re ResourceLoader
Fixed, thx