Class

org.beangle.commons.i18n

DefaultTextBundleRegistry

Related Doc: package i18n

Permalink

class DefaultTextBundleRegistry extends TextBundleRegistry

Annotations
@description()
Since

3.0.0

Linear Supertypes
TextBundleRegistry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultTextBundleRegistry
  2. TextBundleRegistry
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultTextBundleRegistry()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addDefaults(bundleNames: String*): Unit

    Permalink

    Load and cache default bundles

    Load and cache default bundles

    Definition Classes
    DefaultTextBundleRegistryTextBundleRegistry
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val caches: HashMap[Locale, ConcurrentHashMap[String, TextBundle]]

    Permalink
    Attributes
    protected
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val defaultBundleNames: ListBuffer[String]

    Permalink
    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getBundles(locale: Locale): List[TextBundle]

    Permalink

    List locale bundles

    List locale bundles

    Definition Classes
    DefaultTextBundleRegistryTextBundleRegistry
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getDefaultText(key: String, locale: Locale): Option[String]

    Permalink

    Get default locale message

    Get default locale message

    Definition Classes
    DefaultTextBundleRegistryTextBundleRegistry
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def load(locale: Locale, bundleName: String): TextBundle

    Permalink

    Load and cache bundle

    Load and cache bundle

    Definition Classes
    DefaultTextBundleRegistryTextBundleRegistry
  18. def loadJavaBundle(bundleName: String, locale: Locale): Option[TextBundle]

    Permalink

    Load java properties bundle with iso-8859-1

    Load java properties bundle with iso-8859-1

    Attributes
    protected
  19. def loadNewBundle(bundleName: String, locale: Locale): Map[String, TextBundle]

    Permalink
    Attributes
    protected
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def readBundles(input: InputStream, charset: Charset = Charsets.UTF_8): Map[String, Map[String, String]]

    Permalink

    Read key value properties Group by Uppercased key,and default group

    Read key value properties Group by Uppercased key,and default group

    Attributes
    protected[org.beangle.commons.i18n]
  24. var reloadable: Boolean

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toDefaultResourceName(bundleName: String, locale: Locale): String

    Permalink

    Generater resource name like bundleName.zh_CN

    Generater resource name like bundleName.zh_CN

    Attributes
    protected
  27. def toJavaResourceName(bundleName: String, locale: Locale): String

    Permalink

    java properties bundle name

    java properties bundle name

    Attributes
    protected
  28. def toLocaleStr(locale: Locale): String

    Permalink

    Convert locale to string with language_country[_variant]

    Convert locale to string with language_country[_variant]

    Attributes
    protected
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TextBundleRegistry

Inherited from AnyRef

Inherited from Any

Ungrouped