1 5 package org.exoplatform.services.resources; 6 7 import java.util.Locale ; 8 import java.util.ResourceBundle ; 9 10 import javax.servlet.http.HttpServletRequest ; 11 import javax.servlet.http.HttpServletResponse ; 12 18 public interface LocaleConfig { 19 20 public String getDescription(); 21 public void setDescription(String desc); 22 23 public String getOutputEncoding(); 24 public void setOutputEncoding(String enc); 25 26 public String getInputEncoding(); 27 public void setInputEncoding(String enc); 28 29 public Locale getLocale(); 30 public void setLocale(Locale locale); 31 public void setLocale(String localeName); 32 33 public String getLanguage(); 34 35 public String getLocaleName(); 36 37 public ResourceBundle getResourceBundle(String name); 38 39 public ResourceBundle getMergeResourceBundle(String [] names); 40 41 public ResourceBundle getOwnerResourceBundle(String owner); 42 43 public void setInput(HttpServletRequest req) throws java.io.UnsupportedEncodingException ; 44 45 public void setOutput(HttpServletResponse res); 46 } | Popular Tags |