ariba.util.core
Interface ResourceService.Localizer

Enclosing class:
ResourceService

public static interface ResourceService.Localizer


Method Summary
 java.lang.String getLocalizedCompositeKey(java.lang.String compositeKey, java.util.Locale locale)
          Returns the string associated with the given compositeKey in the given locale.
 

Method Detail

getLocalizedCompositeKey

java.lang.String getLocalizedCompositeKey(java.lang.String compositeKey,
                                          java.util.Locale locale)
Returns the string associated with the given compositeKey in the given locale. A composite key is a string that has the following form: If compostiteKey is not in the above form then it is simply returned. If compositeKey is in the above form then the value for stringkey in the stringtable and locale is returned. If there is no value stringkey is returned.

Parameters:
compositeKey - string to localize
locale - locale
Returns:
localized composite key


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.