Package org.languagetool.gui
Class LocaleBean
java.lang.Object
org.languagetool.gui.LocaleBean
- All Implemented Interfaces:
Serializable
Helper class to store GUI Language.
WARNING: This class is for internal use only, the only reason this class is
public is because it is used with XMLEncoder
.
- Since:
- 3.4
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Locale
asLocale()
void
setCountry
(String country) void
setLanguage
(String language) void
setVariant
(String variant)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
country
-
language
-
variant
-
-
Constructor Details
-
LocaleBean
public LocaleBean() -
LocaleBean
-
-
Method Details
-
getCountry
-
getLanguage
-
getVariant
-
setCountry
-
setLanguage
-
setVariant
-
asLocale
Locale asLocale()
-