TextProvider

org.beangle.commons.text.i18n.TextProvider
See theTextProvider companion object
trait TextProvider

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Empty.type

Members list

Value members

Abstract methods

def apply(key: String): Option[String]

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.

Attributes

def apply(key: String, defaultValue: String, obj: Any*): String

Gets a message based on a key using the supplied obj, as defined in java.text.MessageFormat, or, if the message is not found, a supplied default value is returned.

Gets a message based on a key using the supplied obj, as defined in java.text.MessageFormat, or, if the message is not found, a supplied default value is returned.

Attributes