Lines Matching defs:lookup
131 * Looks up a translation in the currently set Locale by the NLS lookup key provided.
192 * Gets a translation given the currently set locale, a lookup key, and a single lookup item replacement.
193 * For an understanding of the lookup item replacement see getTranslation(String key, String[] lookup).
196 public static String getTranslation(String key, String lookup) {
199 Object objects[] = {lookup};
209 * Gets a translation given the currently set locale, a lookup key, and zero or more lookup item replacements.
228 * This method (as well as the getTranslation(String key, String lookup) method) is useful for using nested
234 public static String getTranslation(String key, String[] lookup) {
237 Object objects[] = new Object[lookup.length];
238 for (int i=0; i < lookup.length; i++) objects[i] = lookup[i];
240 retStr = MessageFormat.format(retStr, lookup);