Class 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 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)