| |
|
| java.lang.Object de.jwic.base.ConfigurationTool
ConfigurationTool | public class ConfigurationTool (Code) | | Used to modify Properties configuration. The rootPath is
set by the DispatcherServlet during startup. Classes that depend on
resources from the file system (like renderer) can then "insert" the root
path into their configuration.
author: Florian Lippisch version: $Revision: 1.1 $ |
Method Summary | |
public static String | getRootPath() Returns the root path of the Web Application. | public static void | insertRootPath(Properties prop) Searches for the variable ${rootPath} in the property values and
replaces it with the ControlFactory.getRootPath(). | public static String | insertRootPath(String value) Searches for the variable ${rootPath} in the string and replaces
it with the rootPath setting. | public static void | setRootPath(String newRootPath) Set the root path of the web application. |
getRootPath | public static String getRootPath()(Code) | | Returns the root path of the Web Application.
|
insertRootPath | public static void insertRootPath(Properties prop)(Code) | | Searches for the variable ${rootPath} in the property values and
replaces it with the ControlFactory.getRootPath().
Parameters: prop - |
insertRootPath | public static String insertRootPath(String value)(Code) | | Searches for the variable ${rootPath} in the string and replaces
it with the rootPath setting.
Parameters: value - |
setRootPath | public static void setRootPath(String newRootPath)(Code) | | Set the root path of the web application.
Parameters: newRootPath - |
|
|
|