DefaultTextBundle

org.beangle.commons.text.i18n.DefaultTextBundle
class DefaultTextBundle(val locale: Locale, val resource: String, texts: Map[String, String]) extends TextBundle

Attributes

Since:

3.0.0

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def get(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

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Concrete fields

val locale: Locale

Returns the locale of this resource bundle.

Returns the locale of this resource bundle.

Attributes

val resource: String

Get the bundle resource path

Get the bundle resource path

Attributes