|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.equanda.util.Internationalize
public class Internationalize
Internationalization support
Constructor Summary | |
---|---|
Internationalize()
|
|
Internationalize(boolean stealth)
|
|
Internationalize(String language,
String country,
String variant)
constructor |
|
Internationalize(String language,
String country,
String variant,
boolean stealth)
|
Method Summary | |
---|---|
String |
getResource(String name)
getResource : get the string from a resource. |
String |
getResource(String fullname,
Locale locale)
getResource : get the string from a resource. |
void |
setLanguage(String language)
change the locale to the given combination of language, country and variant |
void |
setLanguage(String language,
String country)
|
void |
setLanguage(String language,
String country,
String variant)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Internationalize(String language, String country, String variant)
language
- country
- can be "" or nullvariant
- can be "" or nullpublic Internationalize(String language, String country, String variant, boolean stealth)
public Internationalize()
public Internationalize(boolean stealth)
Method Detail |
---|
public void setLanguage(String language)
public void setLanguage(String language, String country)
public void setLanguage(String language, String country, String variant)
public String getResource(String name)
public String getResource(String fullname, Locale locale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |