KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > resources > LocaleConfig


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.resources;
6
7 import java.util.Locale JavaDoc;
8 import java.util.ResourceBundle JavaDoc;
9
10 import javax.servlet.http.HttpServletRequest JavaDoc;
11 import javax.servlet.http.HttpServletResponse JavaDoc;
12 /**
13  * May 3, 2004
14  * @author: Tuan Nguyen
15  * @email: tuan08@users.sourceforge.net
16  * @version: $Id: LocaleConfig.java,v 1.6 2004/09/11 20:09:28 tuan08 Exp $
17  **/

18 public interface LocaleConfig {
19    
20     public String JavaDoc getDescription();
21     public void setDescription(String JavaDoc desc);
22     
23     public String JavaDoc getOutputEncoding();
24     public void setOutputEncoding(String JavaDoc enc);
25     
26     public String JavaDoc getInputEncoding();
27     public void setInputEncoding(String JavaDoc enc);
28     
29     public Locale JavaDoc getLocale();
30     public void setLocale(Locale JavaDoc locale);
31     public void setLocale(String JavaDoc localeName);
32     
33   public String JavaDoc getLanguage();
34  
35   public String JavaDoc getLocaleName();
36   
37   public ResourceBundle JavaDoc getResourceBundle(String JavaDoc name);
38   
39   public ResourceBundle JavaDoc getMergeResourceBundle(String JavaDoc[] names);
40   
41   public ResourceBundle JavaDoc getOwnerResourceBundle(String JavaDoc owner);
42   
43   public void setInput(HttpServletRequest JavaDoc req) throws java.io.UnsupportedEncodingException JavaDoc;
44   
45   public void setOutput(HttpServletResponse JavaDoc res);
46 }
Popular Tags