|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
IExtendedTextProvider | Defines additional methods for retrieving keys and checking contants. |
ITextProvider | Defines the minimal interface a class must implement in order to provide text for identifying keys. |
Class Summary | |
---|---|
NLSIniFileDetector | This class is responsible to lookup the classpath for a specified base name to which it depends the file extension ".ini". |
NLSIniFileLoader | This loader is capable of reading text values from an NLS-ini file to one or more TextContainer objects. |
NLSUtil | Provides some utility and convenience methods related NLS. |
ResourceBundleTextProvider | This is a simple wrapper around a resource bundle to give it the same interface ITextProvider as available for a TextContainer. |
TextContainer | This is is a simple container for text strings associated with an identifying key. |
TextContainerList | Can hold many TextContainer objects which can be accessed via a locale name or a Locale object. |
Another aspect addressed in this package is that spreading the localized text
over several files (i.e. one per language) is also very cumbersome when changing
or adding something.
That's the reason why this package follows a different approach. It puts the
text of different languages together in one file and provides a loading
mechanism that still is capable to retrive text for particular Locale only.
It also separates the loading of the text data and the container that is later used to get text for particular keys. That allows to extend the mechanism to load the texts from other sources as for example a database.
|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |