dflorey 2004/12/18 08:00:37
Modified: i18n/xdocs quickstart.xml
Log:
Added docs for new ResourceBundleMessageProvider
Revision Changes Path
1.4 +1 -5 jakarta-commons-sandbox/i18n/xdocs/quickstart.xml
Index: quickstart.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/i18n/xdocs/quickstart.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- quickstart.xml 18 Dec 2004 15:56:28 -0000 1.3
+++ quickstart.xml 18 Dec 2004 16:00:37 -0000 1.4
@@ -127,11 +127,7 @@
<p>In case of the brand new <code>ResourceBundleMessageProvider</code>
initialization looks even simpler:</p>
<source>
...
-try {
- ResourceBundleMessageProvider.install("myMessages");
-} catch ( FileNotFoundException e ) {
- // handle exception
-}
+ResourceBundleMessageProvider.install("myMessages");
...
</source>
<p>It's this simple, because the <code>ResourceBundleMessageProvider</code>
uses the build-in features of Java to locate
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]