Allows the different SSICommand implementations to share data/talk to each
other
DEFAULT_CONFIG_ERR_MSG
protected static final String DEFAULT_CONFIG_ERR_MSG
DEFAULT_CONFIG_SIZE_FMT
protected static final String DEFAULT_CONFIG_SIZE_FMT
DEFAULT_CONFIG_TIME_FMT
protected static final String DEFAULT_CONFIG_TIME_FMT
className
protected String className
conditionalState
protected org.apache.catalina.ssi.SSIConditionalState conditionalState
configErrMsg
protected String configErrMsg
configSizeFmt
protected String configSizeFmt
configTimeFmt
protected String configTimeFmt
lastModifiedDate
protected Date lastModifiedDate
encode
protected String encode(String value,
String encoding)
formatDate
protected String formatDate(Date date,
TimeZone timeZone)
getConditionalState
public org.apache.catalina.ssi.SSIConditionalState getConditionalState()
getConfigErrMsg
public String getConfigErrMsg()
getConfigSizeFmt
public String getConfigSizeFmt()
getConfigTimeFmt
public String getConfigTimeFmt()
getFileLastModified
public long getFileLastModified(String path,
boolean virtual)
throws IOException
getFileSize
public long getFileSize(String path,
boolean virtual)
throws IOException
getFileText
public String getFileText(String path,
boolean virtual)
throws IOException
getVariableNames
public Collection getVariableNames()
getVariableValue
public String getVariableValue(String variableName)
getVariableValue
public String getVariableValue(String variableName,
String encoding)
isNameReserved
protected boolean isNameReserved(String name)
log
public void log(String message)
log
public void log(String message,
Throwable throwable)
setConfigErrMsg
public void setConfigErrMsg(String configErrMsg)
setConfigSizeFmt
public void setConfigSizeFmt(String configSizeFmt)
setConfigTimeFmt
public void setConfigTimeFmt(String configTimeFmt)
setConfigTimeFmt
public void setConfigTimeFmt(String configTimeFmt,
boolean fromConstructor)
setDateVariables
protected void setDateVariables(boolean fromConstructor)
setVariableValue
public void setVariableValue(String variableName,
String variableValue)
substituteVariables
public String substituteVariables(String val)
Applies variable substitution to the specified String and returns the
new resolved string.