public class Helpers
extends java.lang.Object
| Constructor and Description |
|---|
Helpers() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.ResourceBundle |
loadLanguage(java.lang.String localeStr,
java.lang.String path,
java.lang.String file)
Method to load language files.
|
static double |
prolong(double startValue,
double interestRate,
int years)
Method for prolongation.
|
public static java.util.ResourceBundle loadLanguage(java.lang.String localeStr,
java.lang.String path,
java.lang.String file)
throws java.net.MalformedURLException
localeStr - Language codepath - Path to language file folderfile - Language file namejava.net.MalformedURLExceptionpublic static double prolong(double startValue,
double interestRate,
int years)
startValue - Value at the beginninginterestRate - Interest rateyears - Number of years to prolongate