HierarchicalTextResource
org.beangle.commons.text.i18n.HierarchicalTextResource
class HierarchicalTextResource(clazz: Class[_], locale: Locale, registry: TextBundleRegistry, formater: TextFormater) extends DefaultTextResource
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
-
Look for message in aClass' class hierarchy.
-
Look for the message in a resource bundle for aClass
-
If not found, look for the message in a resource bundle for any implemented interface
-
If not found, traverse up the Class' hierarchy and repeat from the first sub-step
Attributes
final protected def findPackageMessage(className: String, key: String, checkedSet: Set[String]): String
Attributes
- Definition Classes
Gets the message from the named resource bundle.
Gets the message from the named resource bundle.
Attributes
Gets the message from the named resource bundle.
Gets the message from the named resource bundle.
Attributes
Inherited methods
Gets a message based on a message key, or null if no message is found.
Gets a message based on a message key, or null if no message is found.
Value parameters
- key
-
the resource bundle key that is to be searched for
Attributes
- Returns
-
the message as found in the resource bundle, or null if none is found.
- Inherited from:
- DefaultTextResource
getText.
Attributes
- Inherited from:
- DefaultTextResource
Attributes
- Inherited from:
- DefaultTextResource
Inherited fields
Attributes
- Inherited from:
- DefaultTextResource
In this article