public class LocaleSpec extends Object
| Constructor and Description |
|---|
LocaleSpec(Element element,
Uri specUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountry()
Locale@country
|
String |
getLanguage()
Locale@lang
|
String |
getLanguageDirection()
Locale@language_direction
|
Locale |
getLocale() |
MessageBundle |
getMessageBundle()
Locale/msg
|
Uri |
getMessages()
Locale@messages
|
String |
toString() |
public LocaleSpec(Element element, Uri specUrl) throws SpecParserException
specUrl - The url that the spec is loaded from. messages is assumed
to be relative to this path.SpecParserException - If language_direction is not validpublic Locale getLocale()
public String getLanguage()
public String getCountry()
public String getLanguageDirection()
public Uri getMessages()
public MessageBundle getMessageBundle()
Copyright © 2007-2012. All Rights Reserved.