Class AMI18NUtils


  • public class AMI18NUtils
    extends Object
    This provides Internationalization related methods.
    • Constructor Detail

      • AMI18NUtils

        public AMI18NUtils()
    • Method Detail

      • getClientType

        public static String getClientType​(SSOToken ssoToken)
        Gets client type from SSO token
        Parameters:
        ssoToken - - Single-Sign-On Token
        Returns:
        client type
      • getCharset

        public static String getCharset​(String clientType,
                                        Locale loc)
        Returns charset type from client service API
        Parameters:
        clientType - Client type.
        loc - Locale of request.
        Returns:
        charset.
      • getContentType

        public static String getContentType​(String clientType)
        Returns content type from client service API.
        Parameters:
        clientType - Client type.
        Returns:
        content type.