base name of the resource bundle, a fully qualified class name
optional locale for which a resource bundle is desired;
for None
, the default locale is used (as returned by Locale.getDefault
);
defaults to None
a Config
with key/value pairs loaded from a resource bundle
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.
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
.
the class for which the resource bundle shall be got
optional locale for which a resource bundle is desired;
for None
, the default locale is used (as returned by Locale.getDefault
);
defaults to None
a Config
with key/value pairs loaded from a resource bundle
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.