|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.helpgui.util.Language
public class Language
Class that help to get text from differents file format
| Field Summary | |
|---|---|
(package private) java.util.Locale |
currentLocale
Local variable |
(package private) java.util.ResourceBundle |
i18n
For the resource file |
private static Language |
language
Static variable |
| Constructor Summary | |
|---|---|
private |
Language()
Constructor of the language |
| Method Summary | |
|---|---|
static Language |
getInstance()
Get the instance of the language |
java.lang.String |
getText(java.lang.String key)
|
void |
setLocale(java.util.Locale locale)
Set the local value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Language language
java.util.Locale currentLocale
java.util.ResourceBundle i18n
| Constructor Detail |
|---|
private Language()
| Method Detail |
|---|
public static Language getInstance()
public void setLocale(java.util.Locale locale)
public java.lang.String getText(java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||