|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pl.psnc.dl.ege.webapp.config.LabelProvider
public final class LabelProvider
Singleton class which provides EGE web application with access to local labels and names.
Method Summary | |
---|---|
static LabelProvider |
getInstance(java.lang.String path)
|
java.lang.String |
getLabel(java.lang.String key)
Returns specified label of default locale. |
java.lang.String |
getLabel(java.lang.String key,
java.util.Locale locale)
Returns label in language specified by locale. |
java.lang.String |
getLabel(java.lang.String key,
java.lang.String locale)
Returns label in language specified by locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LabelProvider getInstance(java.lang.String path)
public java.lang.String getLabel(java.lang.String key)
key
-
public java.lang.String getLabel(java.lang.String key, java.lang.String locale)
key
- locale
-
public java.lang.String getLabel(java.lang.String key, java.util.Locale locale)
key
- locale
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |