/** * Looks for all the specified keys in the resource bundle and returns the first value that exists. * * @param keys The list of possible keys. * @return The resolved value, or <jk>null</jk> if no value is found or the resource bundle is missing. */ public String findFirstString(String...keys) { if (rb == null) return null; for (String k : keys) { if (containsKey(k)) return getString(k); } return null; }
/** * Looks for all the specified keys in the resource bundle and returns the first value that exists. * * @param keys The list of possible keys. * @return The resolved value, or <jk>null</jk> if no value is found or the resource bundle is missing. */ public String findFirstString(String...keys) { if (rb == null) return null; for (String k : keys) { if (containsKey(k)) return getString(k); } return null; }
/** * Looks for all the specified keys in the resource bundle and returns the first value that exists. * * @param keys The list of possible keys. * @return The resolved value, or <jk>null</jk> if no value is found or the resource bundle is missing. */ public String findFirstString(String...keys) { if (rb == null) return null; for (String k : keys) { if (containsKey(k)) return getString(k); } return null; }