commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: [resources]ResourceBundle.getBundle
Date Tue, 18 Mar 2003 14:37:57 GMT
Actually, we'll be changing that to take the full properties file name 
instead of just the package so you can specify it however you like.

David



>From: george stewart <gstewart@us-south.net>
>Reply-To: "Jakarta Commons Developers List" 
><commons-dev@jakarta.apache.org>
>To: commons-dev@jakarta.apache.org      Subject: 
>[resources]ResourceBundle.getBundle
>Date: 18 Mar 2003 09:07:06 -0500
>
>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: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message