Package org.pentaho.di.ui.i18n.editor
Class Translator
- java.lang.Object
-
- org.pentaho.di.ui.i18n.editor.Translator
-
public class Translator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPP_NAMEstatic StringEXTENSIONstatic intLOCALE_LENGTHstatic StringMESSAGES_DIRstatic StringMESSAGES_PREFIXstatic StringREFERENCE_LOCALEstatic StringROOTstatic StringSYSTEM_KEY_PREFIX
-
Constructor Summary
Constructors Constructor Description Translator(org.eclipse.swt.widgets.Display display)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAvailableLocale()StringgetClassname(String key)StringgetLocale(String filename)String[]getSelectedLocale()static voidmain(String[] args)voidopen()booleanquitFile()voidreadFiles(String directory)voidrefresh()voidrefreshGrid()voidrefreshList()voidreload()voidselectLocales()StringtoString()
-
-
-
Field Detail
-
APP_NAME
public static final String APP_NAME
- See Also:
- Constant Field Values
-
ROOT
public static final String ROOT
- See Also:
- Constant Field Values
-
EXTENSION
public static final String EXTENSION
- See Also:
- Constant Field Values
-
MESSAGES_DIR
public static final String MESSAGES_DIR
- See Also:
- Constant Field Values
-
MESSAGES_PREFIX
public static final String MESSAGES_PREFIX
- See Also:
- Constant Field Values
-
LOCALE_LENGTH
public static final int LOCALE_LENGTH
- See Also:
- Constant Field Values
-
SYSTEM_KEY_PREFIX
public static final String SYSTEM_KEY_PREFIX
- See Also:
- Constant Field Values
-
REFERENCE_LOCALE
public static final String REFERENCE_LOCALE
- See Also:
- Constant Field Values
-
-
Method Detail
-
readFiles
public void readFiles(String directory) throws org.pentaho.di.core.exception.KettleFileException
- Throws:
org.pentaho.di.core.exception.KettleFileException
-
open
public void open()
-
reload
public void reload()
-
quitFile
public boolean quitFile()
-
refresh
public void refresh()
-
refreshList
public void refreshList()
-
refreshGrid
public void refreshGrid()
-
getAvailableLocale
public String[] getAvailableLocale()
-
getSelectedLocale
public String[] getSelectedLocale()
-
selectLocales
public void selectLocales()
-
main
public static void main(String[] args)
-
-