Searched refs:locale (Results 1 - 25 of 847) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/locale/
H A Dpackage-info.java21 package com.sun.identity.shared.locale;
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/locale/
H A Dpackage-info.java21 package com.sun.identity.shared.locale;
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/am/sdk/
H A DAMSDKBundle.java31 import com.sun.identity.shared.locale.Locale;
55 public static String getString(String key, Object[] params, String locale) { argument
56 ResourceBundle rb = getBundleFromHash(locale);
60 public static String getString(String key, java.util.Locale locale) { argument
61 return (locale == null) ? getString(key) : getBundleFromHash(locale)
65 public static String getString(String key, String locale) { argument
66 return (locale == null) ? getString(key) : getBundleFromHash(locale)
70 private static ResourceBundle getBundleFromHash(String locale) { argument
86 getBundleFromHash(java.util.Locale locale) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/am/sdk/
H A DAMSDKBundle.java31 import com.sun.identity.shared.locale.Locale;
55 public static String getString(String key, Object[] params, String locale) { argument
56 ResourceBundle rb = getBundleFromHash(locale);
60 public static String getString(String key, java.util.Locale locale) { argument
61 return (locale == null) ? getString(key) : getBundleFromHash(locale)
65 public static String getString(String key, String locale) { argument
66 return (locale == null) ? getString(key) : getBundleFromHash(locale)
70 private static ResourceBundle getBundleFromHash(String locale) { argument
86 getBundleFromHash(java.util.Locale locale) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/idm/
H A DIdRepoBundle.java47 profileBundle = com.sun.identity.shared.locale.Locale
59 public static String getString(String key, Object[] params, String locale) { argument
60 ResourceBundle rb = getBundleFromHash(locale);
64 public static String getString(String key, String locale) { argument
65 if (locale == null) {
68 return getBundleFromHash(locale).getString(key);
71 private static ResourceBundle getBundleFromHash(String locale) { argument
73 ResourceBundle rb = (ResourceBundle) bundles.get(locale);
75 rb = com.sun.identity.shared.locale.Locale.getResourceBundle(
76 BUNDLE_NAME, locale);
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/idm/
H A DIdRepoBundle.java47 profileBundle = com.sun.identity.shared.locale.Locale
59 public static String getString(String key, Object[] params, String locale) { argument
60 ResourceBundle rb = getBundleFromHash(locale);
64 public static String getString(String key, String locale) { argument
65 if (locale == null) {
68 return getBundleFromHash(locale).getString(key);
71 private static ResourceBundle getBundleFromHash(String locale) { argument
73 ResourceBundle rb = (ResourceBundle) bundles.get(locale);
75 rb = com.sun.identity.shared.locale.Locale.getResourceBundle(
76 BUNDLE_NAME, locale);
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/common/
H A DLocaleContext.java29 private Locale locale; field in class:LocaleContext
32 return locale;
39 locale = localeContext.getLocale();
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/base/model/
H A DAMResBundleCacher.java45 * @param locale of bundle
48 public static ResourceBundle getBundle(String name, Locale locale) { argument
50 ResourceBundle rb = cache.getResBundle(name, locale);
53 rb = cache.getResBundle(AMAdminConstants.DEFAULT_RB, locale);
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/base/model/
H A DAMResBundleCacher.java45 * @param locale of bundle
48 public static ResourceBundle getBundle(String name, Locale locale) { argument
50 ResourceBundle rb = cache.getResBundle(name, locale);
53 rb = cache.getResBundle(AMAdminConstants.DEFAULT_RB, locale);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/common/
H A DLocaleContext.java29 private Locale locale; field in class:LocaleContext
32 return locale;
39 locale = localeContext.getLocale();
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/password/ui/model/
H A DPWResetResBundleCacher.java31 import com.sun.identity.shared.locale.AMResourceBundleCache;
42 * @param locale of bundle
45 public static ResourceBundle getBundle(String name, Locale locale) { argument
47 ResourceBundle rb = cache.getResBundle(name, locale);
50 rb = cache.getResBundle(PWResetModel.DEFAULT_RB, locale);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/password/ui/model/
H A DPWResetResBundleCacher.java31 import com.sun.identity.shared.locale.AMResourceBundleCache;
42 * @param locale of bundle
45 public static ResourceBundle getBundle(String name, Locale locale) { argument
47 ResourceBundle rb = cache.getResBundle(name, locale);
50 rb = cache.getResBundle(PWResetModel.DEFAULT_RB, locale);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/
H A DConfiguratorException.java31 import com.sun.identity.shared.locale.L10NMessage;
49 * At this level, the locale of the caller is not known and it is
59 * @param locale User's preferred locale. The localized error message will
60 * be displayed according to user's preferred locale.
65 java.util.Locale locale
69 this.message = getL10NMessage (locale);
122 * @param locale Locale of returned message.
125 public String getL10NMessage (java.util.Locale locale) { argument
131 if (locale
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/
H A DInvalidAttributeValueException.java30 import com.sun.identity.shared.locale.Locale;
99 * @param locale
100 * Uses the locale object to create the appropriate localized
104 public String getL10NMessage(java.util.Locale locale) { argument
107 if ((resourceBundleName == null) || (locale == null) || (attributeI18nKey == null) || (rbName == null)) {
108 message = super.getL10NMessage(locale);
110 ResourceBundle bundle = amCache.getResBundle(resourceBundleName, locale);
112 ResourceBundle serviceResouceBundle = amCache.getResBundle(rbName, locale);
115 return super.getL10NMessage(locale);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/
H A DConfiguratorException.java31 import com.sun.identity.shared.locale.L10NMessage;
49 * At this level, the locale of the caller is not known and it is
59 * @param locale User's preferred locale. The localized error message will
60 * be displayed according to user's preferred locale.
65 java.util.Locale locale
69 this.message = getL10NMessage (locale);
122 * @param locale Locale of returned message.
125 public String getL10NMessage (java.util.Locale locale) { argument
131 if (locale
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/
H A DInvalidAttributeValueException.java30 import com.sun.identity.shared.locale.Locale;
99 * @param locale
100 * Uses the locale object to create the appropriate localized
104 public String getL10NMessage(java.util.Locale locale) { argument
107 if ((resourceBundleName == null) || (locale == null) || (attributeI18nKey == null) || (rbName == null)) {
108 message = super.getL10NMessage(locale);
110 ResourceBundle bundle = amCache.getResBundle(resourceBundleName, locale);
112 ResourceBundle serviceResouceBundle = amCache.getResBundle(rbName, locale);
115 return super.getL10NMessage(locale);
/forgerock/openam-v13/openam-test/src/test/java/com/sun/identity/cli/
H A DResourceBundleTest.java74 @Parameters ({"bundle-name", "bundle-file-name", "locale"})
79 String locale
82 String[] args = (locale.length() == 0) ? new String[5] : new String[7];
92 if (locale.length() > 0) {
95 args[6] = locale;
102 ResourceBundle res = (locale.length() == 0) ?
106 locale);
111 @Parameters ({"bundle-name", "locale"})
114 public void getResourceBundle(String bundleName, String locale) argument
117 String[] args = (locale
139 removeResourceBundle(String bundleName, String locale) argument
[all...]
/forgerock/openam/openam-test/src/test/java/com/sun/identity/cli/
H A DResourceBundleTest.java74 @Parameters ({"bundle-name", "bundle-file-name", "locale"})
79 String locale
82 String[] args = (locale.length() == 0) ? new String[5] : new String[7];
92 if (locale.length() > 0) {
95 args[6] = locale;
102 ResourceBundle res = (locale.length() == 0) ?
106 locale);
111 @Parameters ({"bundle-name", "locale"})
114 public void getResourceBundle(String bundleName, String locale) argument
117 String[] args = (locale
139 removeResourceBundle(String bundleName, String locale) argument
[all...]
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/resource/
H A DLocaleContext.java28 * Determines the locale corresponding to the incoming CREST request by utilizing {@link ISLocaleContext}, and makes
29 * the locale available as a {@link Context}.
33 private Locale locale = null; field in class:LocaleContext
36 super(parent, "locale");
42 * @return The client's preferred locale.
45 if (locale == null) {
49 locale = localeContext.getLocale();
51 return locale;
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DClientRegistration.java76 * Gets the display name of the client in the specified locale.
78 * @param locale The locale.
81 String getDisplayName(Locale locale); argument
84 * Gets the display description of the client in the specified locale.
86 * @param locale The locale.
89 String getDisplayDescription(Locale locale); argument
92 * Gets the display descriptions for the allowed and default scopes combined, in the specified locale.
94 * @param locale Th
97 getScopeDescriptions(Locale locale) argument
105 getClaimDescriptions(Locale locale) argument
[all...]
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/
H A DITask.java42 * @param locale Locale of the request. Need for providing locale message.
45 String execute(Locale locale, Map mapParams) argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DClientRegistration.java77 * Gets the display name of the client in the specified locale.
79 * @param locale The locale.
82 String getDisplayName(Locale locale); argument
85 * Gets the display description of the client in the specified locale.
87 * @param locale The locale.
90 String getDisplayDescription(Locale locale); argument
93 * Gets the display descriptions for the allowed and default scopes combined, in the specified locale.
95 * @param locale Th
98 getScopeDescriptions(Locale locale) argument
106 getClaimDescriptions(Locale locale) argument
[all...]
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/resource/
H A DLocaleContext.java28 * Determines the locale corresponding to the incoming CREST request by utilizing {@link ISLocaleContext}, and makes
29 * the locale available as a {@link Context}.
33 private Locale locale = null; field in class:LocaleContext
36 super(parent, "locale");
42 * @return The client's preferred locale.
45 if (locale == null) {
49 locale = localeContext.getLocale();
51 return locale;
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/workflow/
H A DITask.java42 * @param locale Locale of the request. Need for providing locale message.
45 String execute(Locale locale, Map mapParams) argument
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/
H A DSessionException.java31 import com.sun.identity.shared.locale.L10NMessageImpl;
32 import com.sun.identity.shared.locale.Locale;
63 * rb = ResourceBunde.getBundle (rbName,locale); String localizedStr

Completed in 46 milliseconds

1234567891011>>