org.apache.catalina.ssi
public class SSIMediator extends Object
Version: $Revision: 708124 $, $Date: 2008-10-27 11:07:07 +0100 (Mon, 27 Oct 2008) $
| Field Summary | |
|---|---|
| protected String | className |
| protected SSIConditionalState | conditionalState |
| protected String | configErrMsg |
| protected String | configSizeFmt |
| protected String | configTimeFmt |
| protected int | debug |
| protected static String | DEFAULT_CONFIG_ERR_MSG |
| protected static String | DEFAULT_CONFIG_SIZE_FMT |
| protected static String | DEFAULT_CONFIG_TIME_FMT |
| protected long | lastModifiedDate |
| protected SSIExternalResolver | ssiExternalResolver |
| protected Strftime | strftime |
| protected static URLEncoder | urlEncoder |
| Constructor Summary | |
|---|---|
| SSIMediator(SSIExternalResolver ssiExternalResolver, long lastModifiedDate, int debug) | |
| Method Summary | |
|---|---|
| protected String | encode(String value, String encoding) |
| protected String | formatDate(Date date, TimeZone timeZone) |
| SSIConditionalState | getConditionalState() |
| String | getConfigErrMsg() |
| String | getConfigSizeFmt() |
| String | getConfigTimeFmt() |
| long | getFileLastModified(String path, boolean virtual) |
| long | getFileSize(String path, boolean virtual) |
| String | getFileText(String path, boolean virtual) |
| Collection | getVariableNames() |
| String | getVariableValue(String variableName) |
| String | getVariableValue(String variableName, String encoding) |
| protected boolean | isNameReserved(String name) |
| void | log(String message) |
| void | log(String message, Throwable throwable) |
| void | setConfigErrMsg(String configErrMsg) |
| void | setConfigSizeFmt(String configSizeFmt) |
| void | setConfigTimeFmt(String configTimeFmt) |
| void | setConfigTimeFmt(String configTimeFmt, boolean fromConstructor) |
| protected void | setDateVariables(boolean fromConstructor) |
| void | setVariableValue(String variableName, String variableValue) |
| String | substituteVariables(String val)
Applies variable substitution to the specified String and returns the
new resolved string. |