convertToWSRPLocalizedString(org.jboss.portal.common.i18n.LocalizedString localizedString, String[] desiredLocales) Creates a WSRP LocalizedString based on the best (according to the specified desired locales) value of the given
LocalizedString.
Parameters: localizedString - the LocalizedString from which a localized value is to be extracted Parameters: desiredLocales - the supported locales orderd by user preference, if no desiredLocales are given, thedefault local will be used.
Creates a WSRP LocalizedString based on the best (according to the specified desired locales) value of the given
LocalizedString.
Parameters: localizedString - the LocalizedString from which a localized value is to be extracted Parameters: desiredLocales - the supported locales orderd by user preference, if no desiredLocales are given, thedefault local will be used. the best (according to the specified desired locales) value for the given LocalizedString ornull if no such value can be found. since: 2.6