|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.execution2.MLSLocaleCache
public class MLSLocaleCache
This is based off the Java Locale class internal locale management.
| Method Summary | |
|---|---|
static java.util.Locale |
getInstance(java.lang.String language,
java.lang.String country,
java.lang.String variant)
Returns a Locale constructed from the given
language, country and
variant. |
static java.util.Locale |
getInstanceFromSASLocale(java.lang.String localeString)
|
static java.util.Locale |
putInstance(java.util.Locale inLocale)
If the Locale has not been cached then places it into
the cache and returns it. |
| Method Detail |
|---|
public static java.util.Locale getInstance(java.lang.String language,
java.lang.String country,
java.lang.String variant)
Locale constructed from the given
language, country and
variant. If the same Locale instance
is available in the cache, then that instance is
returned. Otherwise, a new Locale instance is
created and cached.
language - lowercase two-letter ISO-639 code.country - uppercase two-letter ISO-3166 code.variant - vendor and browser specific code. See class description.
Locale instance requested
java.lang.NullPointerException - if any argument is null.public static java.util.Locale putInstance(java.util.Locale inLocale)
Locale has not been cached then places it into
the cache and returns it. If and Locale instance with
the same language, country and
variant already is available in the cache,
then that instance is returned.
inLocale -
Locale instance passed in or matching already cached locale instance.
java.lang.NullPointerException - if any of the language, country or
variant are null.public static java.util.Locale getInstanceFromSASLocale(java.lang.String localeString)
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||