|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.i18n.bundle.I18nBundleUtil
org.nuiton.i18n.bundle.I18nBundleFactory
I18nBundleUtil class instead.
@Deprecated public class I18nBundleFactory
Classe qui est responsable de la detection et construction de I18nBundle.
| Field Summary | |
|---|---|
static String |
BUNDLE_DEF_LOCALES
Deprecated. |
static String |
BUNDLES_FOR_LOCALE
Deprecated. |
static String |
UNIQUE_BUNDLE_DEF
Deprecated. |
static String |
UNIQUE_BUNDLE_ENTRY
Deprecated. |
protected static String |
UNIQUE_BUNDLE_PATH
Deprecated. |
| Fields inherited from class org.nuiton.i18n.bundle.I18nBundleUtil |
|---|
DIRECTORY_SEARCH_BUNDLE_PATTERN, EMPTY_URL_ARRAY, SEARCH_BUNDLE_PATTERN |
| Constructor Summary | |
|---|---|
I18nBundleFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
static URL[] |
getURLs(String uniqueBundleName)
Deprecated. since 1.1, prefer use the I18nInitializer api
instead. |
static Properties |
loadUniqueNameDefFile(String uniqueBundleName)
Deprecated. since 1.1, prefer use the I18nInitializer api
instead. |
| Methods inherited from class org.nuiton.i18n.bundle.I18nBundleUtil |
|---|
addBundle, addBundleEntry, detectBundles, getBundleEntries, getBundleEntries, getBundleEntries, getBundleNames, getBundles, getLocales, getURLs, getURLsFromDirectory, getURLsFromJar, isEmpty, promuteBundle, promuteFull, promuteGeneral, promuteLanguage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static String UNIQUE_BUNDLE_PATH
public static String UNIQUE_BUNDLE_DEF
public static String UNIQUE_BUNDLE_ENTRY
public static String BUNDLE_DEF_LOCALES
public static String BUNDLES_FOR_LOCALE
| Constructor Detail |
|---|
public I18nBundleFactory()
| Method Detail |
|---|
@Deprecated public static URL[] getURLs(String uniqueBundleName)
I18nInitializer api
instead.
fichier de définition : /META-INF/monAppli-definition.properties
locales=fr_fr,es_ES
fichiers de traduction /META-INF/monAppli-fr_FR.properties
/META-INF/monAppli-es_ES.properties
uniqueBundleName - le nom de l'unique bundle a charger
@Deprecated public static Properties loadUniqueNameDefFile(String uniqueBundleName)
I18nInitializer api
instead.
uniqueBundleName - the unique bundle name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||