|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.catalina.util.ssi.SsiMediator | +--org.apache.catalina.util.ssi.SsiFlastmod
Get the last modified date for a file, the date is subject of formatting.
Field Summary |
Fields inherited from class org.apache.catalina.util.ssi.SsiMediator |
contextPath, debug, isVirtualWebappRelative, origServletContext, out, path, relpath, req, res, serverVariables, servletContext, ssiCommands |
Constructor Summary | |
SsiFlastmod()
|
Method Summary | |
protected java.lang.String |
getDate(java.lang.String path)
Get the date of a file and format it correctly |
java.lang.String |
getStream(java.lang.String[] strParamType,
java.lang.String[] strParam)
Get the date of a file and format it correctly |
boolean |
isModified()
Returns false , this SsiCommands is never buffered. |
boolean |
isPrintable()
Returns true this SsiCommand is always prnitable
and should therefore be accsessed through getStream() |
void |
process(java.lang.String[] strParamType,
java.lang.String[] strParam)
Not used since this SsiCommand return a stream, use getStream() instead. |
Methods inherited from class org.apache.catalina.util.ssi.SsiMediator |
flush, flushDate, getCGIPath, getCommand, getCommandPath, getError, getFilePath, getServerVariable, getVirtualPath, timefmt, timefmt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SsiFlastmod()
Method Detail |
public final java.lang.String getStream(java.lang.String[] strParamType, java.lang.String[] strParam)
getStream
in interface SsiCommand
strParamType
- The type of parameterstrParam
- The value of the parameter
protected java.lang.String getDate(java.lang.String path)
path
- The path to the file
public final void process(java.lang.String[] strParamType, java.lang.String[] strParam)
getStream()
instead.
process
in interface SsiCommand
strParamType
- a value of type 'String[]'strParam
- a value of type 'String[]'public final boolean isPrintable()
true
this SsiCommand is always prnitable
and should therefore be accsessed through getStream()
isPrintable
in interface SsiCommand
public final boolean isModified()
false
, this SsiCommands is never buffered.
isModified
in interface SsiCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |