public class Locale extends Object
Modifier and Type | Method and Description |
---|---|
String |
country()
Returns the country as reported by the HTTP client.
|
static Locale |
create() |
static Locale |
create(String language) |
static Locale |
create(String language,
String country) |
static Locale |
create(String language,
String country,
String variant) |
Object |
getDelegate() |
String |
language()
Returns the language as reported by the HTTP client.
|
static Locale |
newInstance(Locale arg) |
String |
variant()
Returns the variant as reported by the HTTP client.
|
public Locale(Locale delegate)
public Object getDelegate()
public static Locale create()
public String language()
public String country()
public String variant()
Copyright © 2016. All rights reserved.