Class JDPLang

java.lang.Object
   |
   +----JDPLang

public class JDPLang
extends Object
Class JDPLang represents a class to retrieve language dependent values for use on screens within JDP.


Constructor Index

 o JDPLang()

Method Index

 o get(String)
Retrieve the Text for this lookup value.
 o get(String, int)
Retrieve the Text for this lookup value.
 o get(String, int, int)
Retrieve the Text for this lookup value.
 o get(String, int[])
Retrieve the Text for this lookup value.
 o get(String, String)
Retrieve the Text for this lookup value.
 o get(String, String[])
Retrieve the Text for this lookup value.
 o load(JDPUser, String, String)
Load the language for the specified language and country.

Constructors

 o JDPLang
 public JDPLang()

Methods

 o load
 public static boolean load(JDPUser thisuser,
                            String thislanguage,
                            String thiscountry)
Load the language for the specified language and country.

Parameters:
lookup - the lookup value to retrieve the associated text.
Returns:
the associated text.
 o get
 public static String get(String lookup)
Retrieve the Text for this lookup value.

Parameters:
lookup - the lookup value to retrieve the associated text.
Returns:
the associated text.
 o get
 public static String get(String lookup,
                          String subValue)
Retrieve the Text for this lookup value.

Parameters:
lookup - the lookup value to retrieve the associated text.
subValue - the substitution value for the text.
Returns:
the associated text.
 o get
 public static String get(String lookup,
                          String subValue[])
Retrieve the Text for this lookup value.

Parameters:
lookup - the lookup value to retrieve the associated text.
subValue - the substitution value for the text.
Returns:
the associated text.
 o get
 public static String get(String lookup,
                          int subValue)
Retrieve the Text for this lookup value.

Parameters:
lookup - the lookup value to retrieve the associated text.
subValue - the substitution value for the text.
Returns:
the associated text.
 o get
 public static String get(String lookup,
                          int subValue0,
                          int subValue1)
Retrieve the Text for this lookup value.

Parameters:
lookup - the lookup value to retrieve the associated text.
subValue - the substitution value for the text.
Returns:
the associated text.
 o get
 public static String get(String lookup,
                          int subValue[])
Retrieve the Text for this lookup value.

Parameters:
lookup - the lookup value to retrieve the associated text.
subValue - the substitution value for the text.
Returns:
the associated text.