BrightSide Workbench Full Report + Source Code
org.turro.elephant.zkoss.ElLabel Class Reference

Static Public Member Functions

static String getLabel (String key)
 
static Map getMap ()
 
static String getLabel (String key, Locale locale)
 
static String getLabel (String key, Object[] args)
 
static String getLabel (String key, Locale locale, Object[] args)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file ElLabel.java.

Member Function Documentation

◆ getLabel() [1/4]

static String org.turro.elephant.zkoss.ElLabel.getLabel ( String  key)
static

Definition at line 33 of file ElLabel.java.

33  {
34  return I_.get(key);
35 // if(key != null) {
36 // LabelsMap map = Labels.getMap(Application.BUNDLES, org.zkoss.util.Locales.getCurrent());
37 // return (String) map.get(key);
38 // }
39 // return key;
40  }
Here is the call graph for this function:

◆ getLabel() [2/4]

static String org.turro.elephant.zkoss.ElLabel.getLabel ( String  key,
Locale  locale 
)
static

Definition at line 47 of file ElLabel.java.

47  {
48  return Application.getString(key, locale);
49 // if(key != null) {
50 // LabelsMap map = Labels.getMap(Application.BUNDLES, validLocale(locale));
51 // return (String) map.get(key);
52 // }
53 // return key;
54  }
Here is the call graph for this function:

◆ getLabel() [3/4]

static String org.turro.elephant.zkoss.ElLabel.getLabel ( String  key,
Locale  locale,
Object[]  args 
)
static

Definition at line 62 of file ElLabel.java.

62  {
63  return Application.getStringPars(key, locale, args);
64 // String label = getLabel(key, locale);
65 // return label != null ? new MessageFormat(label, validLocale(locale)).format(args) : null;
66  }
Here is the call graph for this function:

◆ getLabel() [4/4]

static String org.turro.elephant.zkoss.ElLabel.getLabel ( String  key,
Object[]  args 
)
static

Definition at line 56 of file ElLabel.java.

56  {
57  return Application.getStringPars(key, args);
58 // String label = getLabel(key);
59 // return label != null ? new MessageFormat(label, org.zkoss.util.Locales.getCurrent()).format(args) : null;
60  }
Here is the call graph for this function:

◆ getMap()

static Map org.turro.elephant.zkoss.ElLabel.getMap ( )
static

Definition at line 42 of file ElLabel.java.

42  {
43  return Application.getStringMap();
44 // return Labels.getMap(Application.BUNDLES, org.zkoss.util.Locales.getCurrent());
45  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: