| java.lang.Object com.xoetrope.carousel.langed.LangManager
LangManager | public class LangManager (Code) | | LangManager
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.7 $
|
Constructor Summary | |
public | LangManager(boolean _bIsStandalone) |
Method Summary | |
public String | getLangName() | public int | getNumStrings() Gets the number of strings in the current language. | public String | getString(int id) Gets a string from the language.
Parameters: id - the ID of the requird string. | public String | getSubString(int id) Gets a string from the language, calls getString.
Parameters: id - the ID of the required string. | public String | getSubString(String substitution) Gets a string from the language, calls getString.
Parameters: subString - the substitution string. | public void | read(String driver, String url, String userName, String password, String code, String tableName, boolean doSubstitutions) |
LangManager | public LangManager(boolean _bIsStandalone)(Code) | | |
getNumStrings | public int getNumStrings()(Code) | | Gets the number of strings in the current language.
|
getString | public String getString(int id)(Code) | | Gets a string from the language.
Parameters: id - the ID of the requird string. the requested string complete with substitutions or else "" if not found. |
getSubString | public String getSubString(int id)(Code) | | Gets a string from the language, calls getString.
Parameters: id - the ID of the required string. the requested string complete with substitutions or else "" if not found. |
getSubString | public String getSubString(String substitution)(Code) | | Gets a string from the language, calls getString.
Parameters: subString - the substitution string. the requested string from the current language. |
|
|