BortalI18n.java
763 Bytes
package fi.insomnia.bortal.resources;
import java.util.Enumeration;
import java.util.ResourceBundle;
import javax.faces.context.FacesContext;
public class BortalI18n extends ResourceBundle {
private static final Control BORTAL_CONTROL = new BortalControl();
public BortalI18n()
{
ResourceBundle p = ResourceBundle.getBundle("fi.insomnia.bortal.resources.i18n",
FacesContext.getCurrentInstance().getViewRoot().getLocale(), BORTAL_CONTROL);
this.setParent(p);
}
@Override
protected Object handleGetObject(String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public Enumeration<String> getKeys() {
// TODO Auto-generated method stub
return null;
}
protected static class BortalControl extends Control {
}
}