Hi,
I have read this java tutorial http://docs.oracle.com/javase/tutorial/ ... ntrol.html. However, I can't quite grasp the concept of the use of this class.
Could you provide another pratical (not code just the concept) of a typical use?
Thanks in advance.
ResourceBundle.Control
Moderator: admin
-
- Posts: 132
- Joined: Thu May 16, 2013 9:23 am
- Contact:
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: ResourceBundle.Control
Yes, one practical usage that I can see is when you want to make changes to your resource bundle file while the application is running. Using this class you can control the time to live and so it will be reloaded as frequently as you need.
This is NOT required for the exam though.
HTH,
Paul.
This is NOT required for the exam though.
HTH,
Paul.
-
- Posts: 132
- Joined: Thu May 16, 2013 9:23 am
- Contact:
Re: ResourceBundle.Control
Actually in the official link it's present:
http://docs.oracle.com/javase/tutorial/ ... calization
Thanks in advance.
The_Nick.
http://docs.oracle.com/javase/tutorial/ ... calization
However, thanks for the clarification. As far as I understood it's something to reduce the visibilty of the ResourceBundle loader? Meaning that it's possible with Control to set some filters just to use some of those standardly available?Item 3: Load a resource bundle in an application.
Customizing Resource Bundle Loading
Thanks in advance.
The_Nick.
-
- Posts: 77
- Joined: Sun Jun 30, 2013 10:04 pm
- Contact:
Re: ResourceBundle.Control
I posted my question in the wrong area.
Who is online
Users browsing this forum: No registered users and 5 guests