Index
All Classes and Interfaces|All Packages
A
- addLocale(Locale) - Static method in class org.gvsig.i18n.Messages
-
Adds a Locale at the end of the ordered list of preferred locales.
- addResourceFamily(String, File) - Static method in class org.gvsig.i18n.Messages
-
Adds an additional family of resource files containing some translations.
- addResourceFamily(String, File) - Method in class org.gvsig.i18n.tools.impl.DefaultI18Manager
- addResourceFamily(String, File[]) - Static method in class org.gvsig.i18n.Messages
-
Adds an additional family of resource files containing some translations.
- addResourceFamily(String, ClassLoader) - Static method in class org.gvsig.i18n.Messages
-
Adds an additional family of resource files containing some translations.
- addResourceFamily(String, ClassLoader, String) - Static method in class org.gvsig.i18n.Messages
-
Adds an additional family of resource files containing some translations.
- addResourceFamily(String, ClassLoader, String) - Method in class org.gvsig.i18n.tools.impl.DefaultI18Manager
- addResourceFamily(String, String) - Static method in class org.gvsig.i18n.Messages
-
Adds an additional family of resource files containing some translations.
D
- DefaultI18Manager - Class in org.gvsig.i18n.tools.impl
-
This manager is in charge of providing with a richer text translation than the one used by default.
- DefaultI18Manager() - Constructor for class org.gvsig.i18n.tools.impl.DefaultI18Manager
- doInitialize() - Method in class org.gvsig.i18n.MessagesLibrary
- doPostInitialize() - Method in class org.gvsig.i18n.MessagesLibrary
- doRegistration() - Method in class org.gvsig.i18n.MessagesLibrary
G
- getAllTexts(Locale) - Static method in class org.gvsig.i18n.Messages
- getBaseLanguage() - Static method in class org.gvsig.i18n.Messages
-
Gets the base language, the language considered the origin of translations, which will be (possibly) stored in a property file without language suffix (ie: text.properties instead of text_es.properties).
- getCurrentLocale() - Static method in class org.gvsig.i18n.Messages
- getCurrentLocale() - Method in class org.gvsig.i18n.tools.impl.DefaultI18Manager
- getNotTranslatedKeys() - Static method in class org.gvsig.i18n.Messages
- getPreferredLocales() - Static method in class org.gvsig.i18n.Messages
-
Returns an ArrayList containing the ordered list of prefered Locales Each element of the ArrayList is a Locale object.
- getPreferredLocales() - Method in class org.gvsig.i18n.tools.impl.DefaultI18Manager
- getResource(String) - Method in class org.gvsig.i18n.MessagesClassLoader
-
Loads a resource using the specified file name.
- getText(String) - Static method in class org.gvsig.i18n.Messages
-
Gets the localized message associated with the provided key.
- getText(String) - Static method in class org.gvsig.i18n.templates.MessagesTemplate
-
Gets the translation associated with the provided translation key.
- getText(String, boolean) - Static method in class org.gvsig.i18n.Messages
-
Gets the localized message associated with the provided key.
- getText(String, String) - Static method in class org.gvsig.i18n.Messages
-
Gets the localized message associated with the provided key.
- getText(String, String[]) - Static method in class org.gvsig.i18n.Messages
- getText(String, String[], boolean) - Static method in class org.gvsig.i18n.Messages
- getText(String, String[], String) - Static method in class org.gvsig.i18n.Messages
- getText(String, String[], String, boolean) - Static method in class org.gvsig.i18n.Messages
- getText(String, String, boolean) - Static method in class org.gvsig.i18n.Messages
-
Gets the localized message associated with the provided key.
- getTranslation(String) - Method in class org.gvsig.i18n.tools.impl.DefaultI18Manager
- getTranslation(String, String[]) - Method in class org.gvsig.i18n.tools.impl.DefaultI18Manager
- getTranslations(Locale) - Static method in class org.gvsig.i18n.Messages
H
- hasLocales() - Static method in class org.gvsig.i18n.Messages
-
Checks if some locale has been added to the preferred locales list, which is necessary before loading any translation because only the translations for the preferred locales are loaded.
K
- keySet(Locale) - Static method in class org.gvsig.i18n.Messages
M
- Messages - Class in org.gvsig.i18n
-
This class offers some methods to provide internationalization services to other projects.
- Messages() - Constructor for class org.gvsig.i18n.Messages
- MessagesClassLoader - Class in org.gvsig.i18n
-
This class offers a class loader which is able to load files from the specified directories.
- MessagesClassLoader(URL[]) - Constructor for class org.gvsig.i18n.MessagesClassLoader
-
Creates a new class loader, which is able to load files from the directories specified as parameter.
- MessagesLibrary - Class in org.gvsig.i18n
-
This library is in charge of providing a richer translation manager than the one used by default.
- MessagesLibrary() - Constructor for class org.gvsig.i18n.MessagesLibrary
- MessagesTemplate - Class in org.gvsig.i18n.templates
-
Bridge class to provide internationalization services to the library.
- MessagesTemplate() - Constructor for class org.gvsig.i18n.templates.MessagesTemplate
O
- org.gvsig.i18n - package org.gvsig.i18n
-
Provides classes which offer some methods to provide internationalization services to other projects.
- org.gvsig.i18n.templates - package org.gvsig.i18n.templates
- org.gvsig.i18n.tools.impl - package org.gvsig.i18n.tools.impl
R
- removeLocale(Locale) - Static method in class org.gvsig.i18n.Messages
-
Removes the specified Locale from the list of preferred locales and the translations associated with this locale.
- removeResources() - Static method in class org.gvsig.i18n.Messages
-
Cleans the translation tables (removes all the translations from memory).
S
- setBaseLanguage(String) - Static method in class org.gvsig.i18n.Messages
-
Sets the base language, the language considered the origin of translations, which will be (possibly) stored in a property file without language suffix (ie: text.properties instead of text_es.properties).
- setCurrentLocale(Locale) - Static method in class org.gvsig.i18n.Messages
- setCurrentLocale(Locale, Locale[]) - Static method in class org.gvsig.i18n.Messages
- setPreferredLocales(ArrayList) - Static method in class org.gvsig.i18n.Messages
-
Sets the ordered list of preferred locales.
- size(Locale) - Static method in class org.gvsig.i18n.Messages
-
The number of translation keys which have been loaded till now (In other words: the number of available translation strings).
T
- translate(String) - Static method in class org.gvsig.i18n.Messages
- translate(String, String[]) - Static method in class org.gvsig.i18n.Messages
All Classes and Interfaces|All Packages