[Google Guava] Guava goodness – loading a file from a directory hierarchy

The case:

  1. we want to have an ability to override some static resources in the application
  2. we can have multiple overrides
  3. there is a hierarchy which decides which file is selected if we have multiple overrides
  4. the hierarchy is fixed from the most important to the less important directories

The code:

The other code ­čśë :

Joy :)

  1. wookieb says:

    public HierarchyAwareResourceLoader not public HierarchyAware re ResourceLoader

  1. There are no trackbacks for this post yet.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.