Re: [java ee programming] Difference ResourceBundle and Property

2009-11-22 Thread Hani KSD
Thanks for the response On Wed, Nov 18, 2009 at 4:49 PM, eduart Kapllani wrote: > have a look: > > hhttp://www.russellbeattie.com/notebook/1007850.html > > :-) > > > 2009/11/18 lwproactive : > > Hi, > > > > > > > > I think for ResourceBundle, it can either read from .properties file or > xml, > >

Re: [java ee programming] Difference ResourceBundle and Property

2009-11-18 Thread eduart Kapllani
have a look: hhttp://www.russellbeattie.com/notebook/1007850.html :-) 2009/11/18 lwproactive : > Hi, > > > > I think for ResourceBundle, it can either read from .properties file or xml, > or whatever has key=value matches. Besides, it can be locale customized. > > > > As for Property,  from jav

Re: [java ee programming] Difference ResourceBundle and Property

2009-11-18 Thread Mihai DINCA
Hi Hani java.util.ResourceBundle is an abstract class: -- It's static method "getBundle( String baseName )" returns a ResourceBundle instance corresponding to the requested "baseName". -- The ResourceBundle object helps you obtain a resource Object or String by its name, using "getObject( String

RE: [java ee programming] Difference ResourceBundle and Property

2009-11-18 Thread lwproactive
Hi, I think for ResourceBundle, it can either read from .properties file or xml, or whatever has key=value matches. Besides, it can be locale customized. As for Property, from java doc, it says, The Properties can be saved to a stream or loaded from a stream. But I didn't use it before.