List of usage examples for com.google.gwt.i18n.client ConstantsWithLookup getMap
Map<String, String> getMap(String methodName) throws MissingResourceException;
Map by method name. From source file:org.broadleafcommerce.openadmin.client.MessageManager.java
License:Apache License
@Override public Map<String, String> getMap(String methodName) throws MissingResourceException { MissingResourceException backup = null; for (int j = constants.size() - 1; j >= 0; j--) { ConstantsWithLookup constant = constants.get(j); try {/*w w w . j ava2s . co m*/ Map<String, String> temp = constant.getMap(methodName); return temp; } catch (MissingResourceException e) { backup = e; } } throw backup; }