org.keycloak.services.util

## Class LocaleHelper

- java.lang.Object
- - org.keycloak.services.util.LocaleHelper

-     public class LocaleHelper
      extends Object

  Author:
    Michael Gerber

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocaleHelper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Locale` | `getLocale(KeycloakSession session, RealmModel realm, UserModel user)`
    `static Locale` | `getLocaleFromCookie(KeycloakSession session)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LocaleHelper

          public LocaleHelper()

  - ### Method Detail

    - #### getLocale

          public static Locale getLocale(KeycloakSession session,
                                         RealmModel realm,
                                         UserModel user)

    - #### getLocaleFromCookie

          public static Locale getLocaleFromCookie(KeycloakSession session)

Copyright © 2016 JBoss by Red Hat. All rights reserved.