| org.geotools.resources.ResourceBundle org.geotools.resources.i18n.Vocabulary
All known Subclasses: org.geotools.resources.i18n.Vocabulary_sp, org.geotools.resources.i18n.Vocabulary_el, org.geotools.resources.i18n.Vocabulary_de, org.geotools.resources.i18n.Vocabulary_fr, org.geotools.resources.i18n.Vocabulary_en, org.geotools.resources.i18n.Vocabulary_pt,
Vocabulary | public class Vocabulary extends ResourceBundle (Code) | | Base class for locale-dependent resources. Instances of this class should
never been created directly. Use the factory method
Vocabulary.getResources or use static convenience methods instead.
since: 2.2 version: $Id: Vocabulary.java 22482 2006-10-31 02:58:00Z 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 InternationalString | formatInternational(int key) Gets an international string for the given key. | public static InternationalString | formatInternational(int key, Object arg0) Gets an international string for the given key. | public static InternationalString | formatInternational(int key, Object arg0, Object arg1) Gets an international string for the given key. | public static InternationalString | formatInternational(int key, Object arg0, Object arg1, Object arg2) Gets an international string for the given key. | public static Vocabulary | 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. |
formatInternational | public static InternationalString formatInternational(int key)(Code) | | Gets an international string for the given key. This method does not check for the key
validity. If the key is invalid, then a
MissingResourceException may be thrown
when a
InternationalString.toString method is invoked.
Parameters: key - The key for the desired string. An international string for the given key. |
formatInternational | public static InternationalString formatInternational(int key, Object arg0)(Code) | | Gets an international string for the given key. This method does not check for the key
validity. If the key is invalid, then a
MissingResourceException may be thrown
when a
InternationalString.toString method is invoked.
Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". An international string for the given key.Vocabulary.format toString(Locale) |
formatInternational | public static InternationalString formatInternational(int key, Object arg0, Object arg1)(Code) | | Gets an international string for the given key. This method does not check for the key
validity. If the key is invalid, then a
MissingResourceException may be thrown
when a
InternationalString.toString method is invoked.
Parameters: key - The key for the desired string. Parameters: arg0 - Value to substitute to "{0}". Parameters: arg1 - Value to substitute to "{1}". An international string for the given key.Vocabulary.format toString(Locale) |
formatInternational | public static InternationalString formatInternational(int key, Object arg0, Object arg1, Object arg2)(Code) | | Gets an international string for the given key. This method does not check for the key
validity. If the key is invalid, then a
MissingResourceException may be thrown
when a
InternationalString.toString method is invoked.
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}". An international string for the given key.Vocabulary.format toString(Locale) |
|
|