| org.geotools.resources.ResourceBundle org.geotools.resources.i18n.Logging
All known Subclasses: org.geotools.resources.i18n.Logging_fr, org.geotools.resources.i18n.Logging_en,
Logging | public class Logging extends ResourceBundle (Code) | | Base class for locale-dependent resources. Instances of this class should
never been created directly. Use the factory method
Logging.getResources or use static convenience methods instead.
since: 2.2 version: $Id: Logging.java 22443 2006-10-27 20:47:22Z desruisseaux $ author: Martin Desruisseaux |
Method Summary | |
public static LogRecord | format(Level level, int key) Gets a log record for the given key from this resource bundle or one of its parents.
Parameters: level - The log record level. Parameters: key - The key for the desired string. | public static LogRecord | format(Level level, int key, Object arg0) Gets a log record for the given key. | public static LogRecord | format(Level level, int key, Object arg0, Object arg1) Gets a log record for the given key. | public static LogRecord | format(Level level, int key, Object arg0, Object arg1, Object arg2) Gets a log record for the given key. | public static LogRecord | format(Level level, int key, Object arg0, Object arg1, Object arg2, Object arg3) Gets a log record for the given key. | public static Logging | getResources(Locale locale) Returns resources in the given locale.
Parameters: locale - The locale, or null for the default locale. |
format | public static LogRecord format(Level level, int key) throws MissingResourceException(Code) | | Gets a log record for the given key from this resource bundle or one of its parents.
Parameters: level - The log record level. Parameters: key - The key for the desired string. The string for the given key. throws: MissingResourceException - If no object for the given key can be found. |
format | public static LogRecord format(Level level, int key, Object arg0) throws MissingResourceException(Code) | | Gets a log record for the given key. Replaces all occurence of "{0}"
with values of
arg0 .
Parameters: level - The log record level. Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". The formatted string for the given key. throws: MissingResourceException - If no object for the given key can be found. |
format | public static LogRecord format(Level level, int key, Object arg0, Object arg1) throws MissingResourceException(Code) | | Gets a log record for the given key. Replaces all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 .
Parameters: level - The log record level. Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". Parameters: arg1 - Value to substitute to "{1}". The formatted string for the given key. throws: MissingResourceException - If no object for the given key can be found. |
format | public static LogRecord format(Level level, int key, Object arg0, Object arg1, Object arg2) throws MissingResourceException(Code) | | Gets a log record for the given key. Replaces all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 , etc.
Parameters: level - The log record level. Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". Parameters: arg1 - Value to substitute to "{1}". Parameters: arg2 - Value to substitute to "{2}". The formatted string for the given key. throws: MissingResourceException - If no object for the given key can be found. |
format | public static LogRecord format(Level level, int key, Object arg0, Object arg1, Object arg2, Object arg3) throws MissingResourceException(Code) | | Gets a log record for the given key. Replaces all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 , etc.
Parameters: level - The log record level. Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". Parameters: arg1 - Value to substitute to "{1}". Parameters: arg2 - Value to substitute to "{2}". Parameters: arg3 - Value to substitute to "{3}". The formatted string for the given key. throws: MissingResourceException - If no object for the given key can be found. |
|
|