public class SSIMediator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
className |
protected com.github.rapidark.framework.ssi.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 and Description |
|---|
SSIMediator(SSIExternalResolver ssiExternalResolver,
long lastModifiedDate,
int debug) |
protected String configErrMsg
protected String configTimeFmt
protected String configSizeFmt
protected String className
protected com.github.rapidark.framework.ssi.SSIConditionalState conditionalState
protected static URLEncoder urlEncoder
protected static final String DEFAULT_CONFIG_ERR_MSG
protected static final String DEFAULT_CONFIG_TIME_FMT
protected static final String DEFAULT_CONFIG_SIZE_FMT
protected SSIExternalResolver ssiExternalResolver
protected long lastModifiedDate
protected int debug
protected Strftime strftime
public SSIMediator(SSIExternalResolver ssiExternalResolver, long lastModifiedDate, int debug)
public void setConfigErrMsg(String configErrMsg)
public void setConfigTimeFmt(String configTimeFmt)
public void setConfigTimeFmt(String configTimeFmt, boolean fromConstructor)
public void setConfigSizeFmt(String configSizeFmt)
public String getConfigErrMsg()
public String getConfigTimeFmt()
public String getConfigSizeFmt()
public com.github.rapidark.framework.ssi.SSIConditionalState getConditionalState()
public Collection<String> getVariableNames()
public long getFileSize(String path, boolean virtual) throws IOException
IOExceptionpublic long getFileLastModified(String path, boolean virtual) throws IOException
IOExceptionpublic String getFileText(String path, boolean virtual) throws IOException
IOExceptionprotected boolean isNameReserved(String name)
public void log(String message)
protected void setDateVariables(boolean fromConstructor)
Copyright © 2016. All Rights Reserved.