org.zkoss.web.fn
Class ThemeProperties

java.lang.Object
  extended by org.zkoss.web.fn.ThemeProperties

public class ThemeProperties
extends java.lang.Object

A utility theme properties loader

Since:
6.5.0
Author:
simonpai, jumperchen

Method Summary
static java.util.Map<java.lang.String,java.lang.Object> getPropertyMap(javax.servlet.ServletRequest req, java.lang.String key)
           
static boolean loadProperties(javax.servlet.ServletRequest req, java.io.InputStream in)
          Loads a properties file and apply them into the request scope
static boolean loadProperties(javax.servlet.ServletRequest req, java.lang.String bundleName)
          Loads a properties file and apply them into the request scope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadProperties

public static boolean loadProperties(javax.servlet.ServletRequest req,
                                     java.lang.String bundleName)
Loads a properties file and apply them into the request scope


loadProperties

public static boolean loadProperties(javax.servlet.ServletRequest req,
                                     java.io.InputStream in)
Loads a properties file and apply them into the request scope


getPropertyMap

public static java.util.Map<java.lang.String,java.lang.Object> getPropertyMap(javax.servlet.ServletRequest req,
                                                                              java.lang.String key)


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo