| java.lang.Object com.sun.portal.wsrp.consumer.common.WSRPConsumerUtil
WSRPConsumerUtil | public class WSRPConsumerUtil (Code) | | Common Utility class
|
Method Summary | |
public static String | getResource(ResourceList resourceList, String resourceName, String locale) Lookup resource list to match the given resource name and the locale.
Parameters: resourceList - resource list Parameters: resourceName - name of the resource to be looked up. Parameters: locale - locale in xml:lang format (i.e. | public static String | getXMLLocale(String locale) Convert ISO-compatible locale representation into the xml:lang format.
Parameters: locale - ISO-formatted locale representation (i.e. |
getResource | public static String getResource(ResourceList resourceList, String resourceName, String locale)(Code) | | Lookup resource list to match the given resource name and the locale.
Parameters: resourceList - resource list Parameters: resourceName - name of the resource to be looked up. Parameters: locale - locale in xml:lang format (i.e. en-US) matching String value or null if no match is found. |
getXMLLocale | public static String getXMLLocale(String locale)(Code) | | Convert ISO-compatible locale representation into the xml:lang format.
Parameters: locale - ISO-formatted locale representation (i.e. en_US) xml:lang formatted locale representation (i.e. en-US) |
|
|