public class ModelLocale
extends java.lang.Object
ModelManagement.| Modifier and Type | Field and Description |
|---|---|
private java.util.Locale |
locale |
| Constructor and Description |
|---|
ModelLocale()
Prevents object creation from outside this package.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.Locale |
getActualLocale()
Returns the actual locale.
|
java.util.Locale |
getLocale()
Returns the preferred
locale for descriptive texts. |
void |
setLocale(java.util.Locale locale)
Defines the preferred
locale for descriptive texts. |
public void setLocale(java.util.Locale locale)
locale for descriptive texts.locale - the preferred locale, may be nullpublic java.util.Locale getLocale()
locale for descriptive texts.setLocale(Locale), may
be null, in particular when setLocale(Locale) has not been called beforejava.util.Locale getActualLocale()
Copyright © 2009 - 2018 SSE. All Rights Reserved.