1 package org.tp23.antinstaller.renderer;
2 
3 import java.util.ResourceBundle;
4 /**
5  * This class is a resource bundle that allows the bundle to be reloaded
6  * if the default Locale has changed
7  * @author teknopaul
8  *
9  */
10public class AIResourceBundle {
11
12    private static ResourceBundle res = ResourceBundle.getBundle("org.tp23.antinstaller.renderer.Res");
13    
14    public String getString(String key) {
15        return res.getString(key);
16    }
17    
18    public static void reInitLocale() {
19        res = ResourceBundle.getBundle("org.tp23.antinstaller.renderer.Res");
20    }
21
22}
23