Klasse Internationalization
java.lang.Object
org.oxt.toolbox.helpers.Internationalization
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ResourceBundle
loadLanguage
(String localeStr, String path, String file) Method to load language files.
-
Konstruktordetails
-
Internationalization
public Internationalization()
-
-
Methodendetails
-
loadLanguage
public static ResourceBundle loadLanguage(String localeStr, String path, String file) throws MalformedURLException, FileNotFoundException Method to load language files.- Parameter:
localeStr
- Language codepath
- Path to language file folderfile
- Language file name- Gibt zurück:
- ResourceBundle
- Löst aus:
MalformedURLException
- error for malformed URLFileNotFoundException
- error for non-existing file
-