|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.ResourceBundle org.geotools.resources.ResourceBundle org.geotools.resources.i18n.Logging
Base class for locale-dependent resources. Instances of this class should
never been created directly. Use the factory method getResources(java.util.Locale)
or use static convenience methods instead.
Field Summary |
Fields inherited from class java.util.ResourceBundle |
parent |
Constructor Summary | |
Logging()
|
Method Summary | |
static java.util.logging.LogRecord |
format(java.util.logging.Level level,
int key)
Gets a log record for the given key from this resource bundle or one of its parents. |
static java.util.logging.LogRecord |
format(java.util.logging.Level level,
int key,
java.lang.Object arg0)
Gets a log record for the given key. |
static java.util.logging.LogRecord |
format(java.util.logging.Level level,
int key,
java.lang.Object arg0,
java.lang.Object arg1)
Gets a log record for the given key. |
static java.util.logging.LogRecord |
format(java.util.logging.Level level,
int key,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2)
Gets a log record for the given key. |
static java.util.logging.LogRecord |
format(java.util.logging.Level level,
int key,
java.lang.Object arg0,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3)
Gets a log record for the given key. |
static Logging |
getResources(java.util.Locale locale)
Returns resources in the given locale. |
Methods inherited from class org.geotools.resources.ResourceBundle |
getKeys, getLabel, getLogRecord, getLogRecord, getLogRecord, getLogRecord, getLogRecord, getMenuLabel, getString, getString, getString, getString, getString, getString, handleGetObject, list, toString |
Methods inherited from class java.util.ResourceBundle |
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Logging()
Method Detail |
public static Logging getResources(java.util.Locale locale) throws java.util.MissingResourceException
locale
- The locale, or for the default locale.
java.util.MissingResourceException
- if resources can't be found.public static java.util.logging.LogRecord format(java.util.logging.Level level, int key) throws java.util.MissingResourceException
level
- The log record level.key
- The key for the desired string.
java.util.MissingResourceException
- If no object for the given key can be found.public static java.util.logging.LogRecord format(java.util.logging.Level level, int key, java.lang.Object arg0) throws java.util.MissingResourceException
level
- The log record level.key
- The key for the desired string.arg0
- Value to substitute to "{0}".
java.util.MissingResourceException
- If no object for the given key can be found.public static java.util.logging.LogRecord format(java.util.logging.Level level, int key, java.lang.Object arg0, java.lang.Object arg1) throws java.util.MissingResourceException
level
- The log record level.key
- The key for the desired string.arg0
- Value to substitute to "{0}".arg1
- Value to substitute to "{1}".
java.util.MissingResourceException
- If no object for the given key can be found.public static java.util.logging.LogRecord format(java.util.logging.Level level, int key, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2) throws java.util.MissingResourceException
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}".
java.util.MissingResourceException
- If no object for the given key can be found.public static java.util.logging.LogRecord format(java.util.logging.Level level, int key, java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3) throws java.util.MissingResourceException
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}".
java.util.MissingResourceException
- If no object for the given key can be found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |