commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From george stewart <>
Subject [resources]ResourceBundle.getBundle
Date Tue, 18 Mar 2003 14:07:06 GMT
In the messages class, there's static method:
    public static Messages getMessages(String name)

which does this:
Resources resources = factory.getResources(name + ".LocalStrings");

This doesn't work for ResourceBundle.getBundle on W2K with JDK 1.3.1_04.

You could use name of the form name + "_LocalStrings".

Secondly, wouldn't users prefer an exception in this method instead of the silent failure?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message