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 String
APP_NAME
static String
EXTENSION
static int
LOCALE_LENGTH
static String
MESSAGES_DIR
static String
MESSAGES_PREFIX
static String
REFERENCE_LOCALE
static String
ROOT
static String
SYSTEM_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()
String
getClassname(String key)
String
getLocale(String filename)
String[]
getSelectedLocale()
static void
main(String[] args)
void
open()
boolean
quitFile()
void
readFiles(String directory)
void
refresh()
void
refreshGrid()
void
refreshList()
void
reload()
void
selectLocales()
String
toString()
-
-
-
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)
-
-