Class Labels
×News: XavaPro 7.7 released - March 11 · Read more
java.lang.Object
org.openxava.util.Labels
Utility class for obtain the i18n of the labels.
- Author:
- Javier Paniza
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanstatic booleanexistsExact(String id) static booleanexistsExact(String id, Locale locale) static Stringstatic StringOn any error returns the sentidwith the first letter in uppercase.static StringIfidis not found, or other error returnsdefaultValuestatic StringgetQualified(String id) On any error returns the sentidwith the first letter in uppercase.static StringgetQualified(String id, Locale locale) On any error returns the sentidwith the first letter in uppercase.static StringgetQualified(String id, Locale locale, String defaultValue) Qualified label.static voidAdd or change a label by locale.static StringremoveUnderlined(String label)
-
Constructor Details
-
Labels
public Labels()
-
-
Method Details
-
getQualified
-
getQualified
-
get
-
get
-
put
-
getQualified
-
get
-
exists
-
existsExact
- Throws:
XavaException
-
exists
-
existsExact
- Throws:
XavaException
-
removeUnderlined
-