DefaultTextResource

class DefaultTextResource(val locale: Locale, val registry: TextBundleRegistry, val formater: TextFormater) extends TextResource

Abstract BundleTextResource class.

class Object
trait Matchable
class Any

Value members

Concrete methods

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

getText.

getText.

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.

Value parameters:
key

the resource bundle key that is to be searched for

Returns:

the message as found in the resource bundle, or null if none is found.

protected def get(key: String): Option[String]
def isKeyAsDefault(): Boolean
def setKeyAsDefault(keyAsDefault: Boolean): Unit

Concrete fields

protected val formater: TextFormater
protected var keyAsDefault: Boolean
val locale: Locale
Returns:

locale