org.pfsw.nls
Interface ITextProvider
- All Known Subinterfaces:
- IExtendedTextProvider
- All Known Implementing Classes:
- ResourceBundleTextProvider, TextContainer, TextContainerList
public interface ITextProvider
Defines the minimal interface a class must implement in order to provide
text for identifying keys.
Method Summary |
java.lang.String |
getText(java.lang.String key)
Returns the text associated with the given key or null if the key cannot
be found. |
getText
java.lang.String getText(java.lang.String key)
- Returns the text associated with the given key or null if the key cannot
be found.
If the specified key is null then null will be returned.
- Parameters:
key
- The identifier for the text