| org.geotools.resources.ResourceBundle org.geotools.resources.i18n.Errors
All known Subclasses: org.geotools.resources.i18n.Errors_el, org.geotools.resources.i18n.Errors_fr, org.geotools.resources.i18n.Errors_pt, org.geotools.resources.i18n.Errors_de, org.geotools.resources.i18n.Errors_sp, org.geotools.resources.i18n.Errors_en,
Errors | public class Errors extends ResourceBundle (Code) | | Base class for locale-dependent resources. Instances of this class should
never been created directly. Use the factory method
Errors.getResources or use static convenience methods instead.
since: 2.2 version: $Id: Errors.java 22443 2006-10-27 20:47:22Z desruisseaux $ author: Martin Desruisseaux |
Method Summary | |
public static String | format(int key) Gets a string for the given key from this resource bundle or one of its parents.
Parameters: key - The key for the desired string. | public static String | format(int key, Object arg0) Gets a string for the given key are replace all occurence of "{0}"
with values of
arg0 .
Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". | public static String | format(int key, Object arg0, Object arg1) Gets a string for the given key are replace all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 .
Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". Parameters: arg1 - Value to substitute to "{1}". | public static String | format(int key, Object arg0, Object arg1, Object arg2) Gets a string for the given key are replace all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 , etc.
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}". | public static String | format(int key, Object arg0, Object arg1, Object arg2, Object arg3) Gets a string for the given key are replace all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 , etc.
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}". | public static Errors | getResources(Locale locale) Returns resources in the given locale.
Parameters: locale - The locale, or null for the default locale. |
format | public static String format(int key) throws MissingResourceException(Code) | | Gets a string for the given key from this resource bundle or one of its parents.
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 String format(int key, Object arg0) throws MissingResourceException(Code) | | Gets a string for the given key are replace all occurence of "{0}"
with values of
arg0 .
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 String format(int key, Object arg0, Object arg1) throws MissingResourceException(Code) | | Gets a string for the given key are replace all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 .
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 String format(int key, Object arg0, Object arg1, Object arg2) throws MissingResourceException(Code) | | Gets a string for the given key are replace all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 , etc.
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 String format(int key, Object arg0, Object arg1, Object arg2, Object arg3) throws MissingResourceException(Code) | | Gets a string for the given key are replace all occurence of "{0}",
"{1}", with values of
arg0 ,
arg1 , etc.
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. |
|
|