public class Loggings extends IndexedResourceBundle
getResources(java.util.Locale)
or use static convenience methods instead.ResourceBundle.Control
parent
Constructor and Description |
---|
Loggings() |
Modifier and Type | Method and Description |
---|---|
static LogRecord |
format(Level level,
int key)
Gets a log record for the given key from this resource bundle or one of its parents.
|
static LogRecord |
format(Level level,
int key,
Object arg0)
Gets a log record for the given key.
|
static LogRecord |
format(Level level,
int key,
Object arg0,
Object arg1)
Gets a log record for the given key.
|
static LogRecord |
format(Level level,
int key,
Object arg0,
Object arg1,
Object arg2)
Gets a log record for the given key.
|
static LogRecord |
format(Level level,
int key,
Object arg0,
Object arg1,
Object arg2,
Object arg3)
Gets a log record for the given key.
|
static Loggings |
getResources(Locale locale)
Returns resources in the given locale.
|
format, getKeys, getLabel, getLogRecord, getLogRecord, getLogRecord, getLogRecord, getLogRecord, getMenuLabel, getString, getString, getString, getString, getString, getString, handleGetObject, list, toString
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
public static Loggings getResources(Locale locale) throws MissingResourceException
locale
- The locale, or null
for the default locale.MissingResourceException
- if resources can't be found.public static LogRecord format(Level level, int key) throws MissingResourceException
level
- The log record level.key
- The key for the desired string.MissingResourceException
- If no object for the given key can be found.public static LogRecord format(Level level, int key, Object arg0) throws MissingResourceException
arg0
.level
- The log record level.key
- The key for the desired string.arg0
- Value to substitute to "{0}".MissingResourceException
- If no object for the given key can be found.public static LogRecord format(Level level, int key, Object arg0, Object arg1) throws MissingResourceException
arg0
, arg1
.level
- The log record level.key
- The key for the desired string.arg0
- Value to substitute to "{0}".arg1
- Value to substitute to "{1}".MissingResourceException
- If no object for the given key can be found.public static LogRecord format(Level level, int key, Object arg0, Object arg1, Object arg2) throws MissingResourceException
arg0
, arg1
, etc.level
- The log record level.key
- The key for the desired string.arg0
- Value to substitute to "{0}".arg1
- Value to substitute to "{1}".arg2
- Value to substitute to "{2}".MissingResourceException
- If no object for the given key can be found.public static LogRecord format(Level level, int key, Object arg0, Object arg1, Object arg2, Object arg3) throws MissingResourceException
arg0
, arg1
, etc.level
- The log record level.key
- The key for the desired string.arg0
- Value to substitute to "{0}".arg1
- Value to substitute to "{1}".arg2
- Value to substitute to "{2}".arg3
- Value to substitute to "{3}".MissingResourceException
- If no object for the given key can be found.Copyright © 1996–2019 Geotools. All rights reserved.