| java.lang.Object com.xoetrope.carousel.langed.Language com.xoetrope.carousel.langed.EdLanguage
EdLanguage | public class EdLanguage extends Language (Code) | | EdLanguage
Extends the basic language class to provide write functionality.
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.11 $
author: Luan O'Carroll |
addString | public int addString(int id, String newKeyStr, String newValueStr)(Code) | | Add a new string to the language.
Parameters: id - the id of this new language string Parameters: newKeyStr - the new langauge key Parameters: newValueStr - the new langauge value |
addString | public int addString(String newKeyStr, String newValueStr)(Code) | | Add a new string to the language.
Parameters: newKeyStr - the new langauge key Parameters: newValueStr - the new langauge value |
findString | public int findString(String key)(Code) | | Looks up and returns a string.
|
getLangCode | public String getLangCode()(Code) | | Gets the language country code e.g. "IRL"
|
getLangName | public String getLangName()(Code) | | Gets the language name e.g. "English"
|
getMaxId | public int getMaxId()(Code) | | Gets the maximum string ID in use.
|
getNumStrings | public int getNumStrings()(Code) | | |
getSize | public int getSize()(Code) | | |
getStringId | public int getStringId(int idx)(Code) | | |
getStringIndex | public int getStringIndex(int idx)(Code) | | |
read | public void read(Vector translations, int field, boolean bSubstrings)(Code) | | |
removeString | public void removeString(int idx)(Code) | | |
setKeyString | public void setKeyString(int id, String newStr)(Code) | | Looks up and returns a string.
|
setLangCode | public void setLangCode(String cc)(Code) | | Sets the language country code e.g. "IRL"
Parameters: cc - The new language code. |
setLangName | public void setLangName(String name)(Code) | | Sets the language name e.g. "English"
Parameters: name - The new language name. |
setString | public void setString(int id, String newKeyStr, String newValueStr)(Code) | | Looks up and returns a string.
Parameters: newKeyStr - the new language key Parameters: newValueStr - the new language value |
|
|