Diff of /jakarta/commons/sandbox/i18n/trunk/src/java/org/apache/commons/i18n/LocalizedBundle.java
Parent Directory
| Revision Log
| Patch
--- jakarta/commons/sandbox/i18n/trunk/src/java/org/apache/commons/i18n/LocalizedBundle.java 2005/05/06 10:19:21 168589
+++ jakarta/commons/sandbox/i18n/trunk/src/java/org/apache/commons/i18n/LocalizedBundle.java 2005/05/06 10:36:38 168590
@@ -37,11 +37,10 @@ import java.util.Locale;
* the key of the desired message entry.</p>
* This class should not be used directly in order to retrieve entries of a message bundle. It is recommended
* to subclass the <code>LocalizedBundle</code> class in order to define a specific localized bundle.
- * @see TextBundle, MessageBundle, ErrorBundle
+ * @see org.apache.commons.i18n.bundles.TextBundle, MessageBundle, ErrorBundle
*/
public class LocalizedBundle implements Serializable {
public final static String ID = "id";
- public final static String ARGUMENTS = "arguments";
protected String id;
protected Object[] arguments;
@@ -97,7 +96,7 @@ public class LocalizedBundle implements
* @param defaultText the text to be returned if no entry was found for the given key
* @return returns the text of the desired message entry for the given locale
*/
- public String getEntry(String key, String defaultText, Locale locale) {
+ public String getEntry(String key, Locale locale, String defaultText) {
return MessageManager.getText(id, key, arguments, locale, defaultText);
}
}
\ No newline at end of file