Package org.zkoss.web.fn
Class ThemeProperties
- java.lang.Object
-
- 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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 scopestatic boolean
loadProperties(javax.servlet.ServletRequest req, java.lang.String bundleName)
Loads a properties file and apply them into the request scope
-
-
-
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)
-
-