| java.lang.Object org.lateralnz.common.util.MVResourceBundle
MVResourceBundle | public class MVResourceBundle implements Constants(Code) | | an XML-based resource bundle that works similar to a normal java.util.ResourceBundle,
however this handles multiple variants.
For example, the locale CA_fr_var1_var2_var3 would be parsed into:
CA_fr_var1_var2_var3
CA_fr_var1_var2
CA_fr_var1
CA_fr
CA
followed by the default resourcebundle.
Which hopefully should explain the name: Multi Variant Resource Bundle
|
getBranchAsMap | final public Map getBranchAsMap(String branch)(Code) | | NOTE: not a particularly fast method. Be careful how this is used
|
reload | final public void reload() throws Exception(Code) | | reload property files (note: this reloads all variants)
|
|
|