Code example for ResourceBundle

Methods: getKeys

0
    @Override 
    public Enumeration<String> getKeys() {
        if (current == null) {
            setLocale(Locale.getDefault());
        } 
        return current.getKeys();
    } 
 
    @Override 
    protected Object handleGetObject(String key) {
        if (current == null) {
            setLocale(Locale.getDefault());
        } 
        return current.getObject(key);
    } 
 
    /** 
     * Delegates getString using the resource bundle corresponding to the local 
     * (create one if it doesn't exist). 
     * 
     * @param key