org.jboss.resteasy.util

## Class LocaleHelper

- java.lang.Object
- - org.jboss.resteasy.util.LocaleHelper

-     public class LocaleHelper
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocaleHelper()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Locale` | `extractLocale(String lang)`
    `static String` | `toLanguageString(Locale value)` HTTP 1.1 has different String format for language than what java.util.Locale does '-' instead of '_' as a separator

    - ### 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

    - #### extractLocale

          public static Locale extractLocale(String lang)

    - #### toLanguageString

          public static String toLanguageString(Locale value)

      HTTP 1.1 has different String format for language than what java.util.Locale does '-' instead of '_' as a separator
      Parameters:
        `value` -
      Returns:

Copyright © 2014. All Rights Reserved.