| java.lang.Object com.ibm.icu.impl.ICUNotifier com.ibm.icu.impl.ICUService com.ibm.icu.impl.ICULocaleService
Inner Class :abstract public static class LocaleKeyFactory implements Factory | |
Inner Class :public static class SimpleLocaleKeyFactory extends LocaleKeyFactory | |
Inner Class :public static class ICUResourceBundleFactory extends LocaleKeyFactory | |
Method Summary | |
public Key | createKey(String id) | public Key | createKey(String id, int kind) | public Key | createKey(ULocale l, int kind) | public Object | get(ULocale locale) Convenience override for callers using locales. | public Object | get(ULocale locale, int kind) Convenience override for callers using locales. | public Object | get(ULocale locale, ULocale[] actualReturn) Convenience override for callers using locales. | public Object | get(ULocale locale, int kind, ULocale[] actualReturn) Convenience override for callers using locales. | public Locale[] | getAvailableLocales() Convenience method for callers using locales. | public ULocale[] | getAvailableULocales() Convenience method for callers using locales. | public Factory | registerObject(Object obj, ULocale locale) Convenience override for callers using locales. | public Factory | registerObject(Object obj, ULocale locale, boolean visible) Convenience override for callers using locales. | public Factory | registerObject(Object obj, ULocale locale, int kind) Convenience function for callers using locales. | public Factory | registerObject(Object obj, ULocale locale, int kind, boolean visible) Convenience function for callers using locales. | public String | validateFallbackLocale() Return the name of the current fallback locale. |
ICULocaleService | public ICULocaleService()(Code) | | Construct an ICULocaleService.
|
ICULocaleService | public ICULocaleService(String name)(Code) | | Construct an ICULocaleService with a name (useful for debugging).
|
get | public Object get(ULocale locale)(Code) | | Convenience override for callers using locales. This calls
get(ULocale, int, ULocale[]) with KIND_ANY for kind and null for
actualReturn.
|
get | public Object get(ULocale locale, int kind)(Code) | | Convenience override for callers using locales. This calls
get(ULocale, int, ULocale[]) with a null actualReturn.
|
get | public Object get(ULocale locale, ULocale[] actualReturn)(Code) | | Convenience override for callers using locales. This calls
get(ULocale, int, ULocale[]) with KIND_ANY for kind.
|
get | public Object get(ULocale locale, int kind, ULocale[] actualReturn)(Code) | | Convenience override for callers using locales. This uses
createKey(ULocale.toString(), kind) to create a key, calls getKey, and then
if actualReturn is not null, returns the actualResult from
getKey (stripping any prefix) into a ULocale.
|
getAvailableLocales | public Locale[] getAvailableLocales()(Code) | | Convenience method for callers using locales. This returns the standard
Locale list, built from the Set of visible ids.
|
getAvailableULocales | public ULocale[] getAvailableULocales()(Code) | | Convenience method for callers using locales. This returns the standard
ULocale list, built from the Set of visible ids.
|
registerObject | public Factory registerObject(Object obj, ULocale locale)(Code) | | Convenience override for callers using locales. This calls
registerObject(Object, ULocale, int kind, boolean visible)
passing KIND_ANY for the kind, and true for the visibility.
|
registerObject | public Factory registerObject(Object obj, ULocale locale, boolean visible)(Code) | | Convenience override for callers using locales. This calls
registerObject(Object, ULocale, int kind, boolean visible)
passing KIND_ANY for the kind.
|
registerObject | public Factory registerObject(Object obj, ULocale locale, int kind)(Code) | | Convenience function for callers using locales. This calls
registerObject(Object, ULocale, int kind, boolean visible)
passing true for the visibility.
|
registerObject | public Factory registerObject(Object obj, ULocale locale, int kind, boolean visible)(Code) | | Convenience function for callers using locales. This instantiates
a SimpleLocaleKeyFactory, and registers the factory.
|
validateFallbackLocale | public String validateFallbackLocale()(Code) | | Return the name of the current fallback locale. If it has changed since this was
last accessed, the service cache is cleared.
|
Methods inherited from com.ibm.icu.impl.ICUService | protected boolean acceptsListener(EventListener l)(Code)(Java Doc) protected void clearCaches()(Code)(Java Doc) protected void clearServiceCache()(Code)(Java Doc) public Key createKey(String id)(Code)(Java Doc) final public List factories()(Code)(Java Doc) public Object get(String descriptor)(Code)(Java Doc) public Object get(String descriptor, String[] actualReturn)(Code)(Java Doc) public String getDisplayName(String id)(Code)(Java Doc) public String getDisplayName(String id, ULocale locale)(Code)(Java Doc) public SortedMap getDisplayNames()(Code)(Java Doc) public SortedMap getDisplayNames(ULocale locale)(Code)(Java Doc) public SortedMap getDisplayNames(ULocale locale, Comparator com)(Code)(Java Doc) public SortedMap getDisplayNames(ULocale locale, String matchID)(Code)(Java Doc) public SortedMap getDisplayNames(ULocale locale, Comparator com, String matchID)(Code)(Java Doc) public Object getKey(Key key)(Code)(Java Doc) public Object getKey(Key key, String[] actualReturn)(Code)(Java Doc) public Object getKey(Key key, String[] actualReturn, Factory factory)(Code)(Java Doc) public String getName()(Code)(Java Doc) public Set getVisibleIDs()(Code)(Java Doc) public Set getVisibleIDs(String matchID)(Code)(Java Doc) protected Object handleDefault(Key key, String[] actualIDReturn)(Code)(Java Doc) public boolean isDefault()(Code)(Java Doc) protected void markDefault()(Code)(Java Doc) protected void notifyListener(EventListener l)(Code)(Java Doc) protected void reInitializeFactories()(Code)(Java Doc) final public Factory registerFactory(Factory factory)(Code)(Java Doc) public Factory registerObject(Object obj, String id)(Code)(Java Doc) public Factory registerObject(Object obj, String id, boolean visible)(Code)(Java Doc) final public void reset()(Code)(Java Doc) public String stats()(Code)(Java Doc) public String toString()(Code)(Java Doc) final public boolean unregisterFactory(Factory factory)(Code)(Java Doc)
|
|
|