Object/Class

de.h2b.scala.lib.util.config

BundleConfig

Related Docs: class BundleConfig | package config

Permalink

object BundleConfig

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BundleConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 apply(baseName: String, localeOption: Option[Locale] = None): Config[String, String]

    Permalink

    baseName

    base name of the resource bundle, a fully qualified class name

    localeOption

    optional locale for which a resource bundle is desired; for None, the default locale is used (as returned by Locale.getDefault); defaults to None

    returns

    a Config with key/value pairs loaded from a resource bundle

    Note

    If some I/O or other exception occurs when loading the bundle, the resulting Config is empty.

    ,

    All values must be strings.

    ,

    The base name must identify a resource bundle according to the java.util.ResourceBundle class.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def forClass(c: Class[_], localeOption: Option[Locale] = None): Config[String, String]

    Permalink

    Loads key/value pairs from a resource bundle associated with a class.

    Loads key/value pairs from a resource bundle associated with a class.

    The bundle is looked up under the modified package name of the given class (i.e., with '/' substituted for '.'). The base name of the bundle is equal to the the name of the given class. If the bundle consists of files, each must have an extension .properties.

    c

    the class for which the resource bundle shall be got

    localeOption

    optional locale for which a resource bundle is desired; for None, the default locale is used (as returned by Locale.getDefault); defaults to None

    returns

    a Config with key/value pairs loaded from a resource bundle

    Note

    If some I/O or other exception occurs when loading the bundle, the resulting Config is empty.

    ,

    All values must be strings.

    ,

    The base name must identify a resource bundle according to the java.util.ResourceBundle class.

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped