org.apache.catalina.util.ssi
クラス SsiFlastmod

java.lang.Object
  |
  +--org.apache.catalina.util.ssi.SsiMediator
        |
        +--org.apache.catalina.util.ssi.SsiFlastmod
すべての実装インタフェース:
SsiCommand

public final class SsiFlastmod
extends SsiMediator
implements SsiCommand

Get the last modified date for a file, the date is subject of formatting.

バージョン:
$Revision: 1.3 $, $Date: 2001/07/22 20:25:15 $
作成者:
Bip Thelin

クラス org.apache.catalina.util.ssi.SsiMediator から継承したフィールド
contextPath, debug, isVirtualWebappRelative, origServletContext, out, path, relpath, req, res, serverVariables, servletContext, ssiCommands
 
コンストラクタの概要
SsiFlastmod()
           
 
メソッドの概要
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.
 
クラス org.apache.catalina.util.ssi.SsiMediator から継承したメソッド
flush, flushDate, getCGIPath, getCommand, getCommandPath, getError, getFilePath, getServerVariable, getVirtualPath, timefmt, timefmt
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SsiFlastmod

public SsiFlastmod()
メソッドの詳細

getStream

public final java.lang.String getStream(java.lang.String[] strParamType,
                                        java.lang.String[] strParam)
Get the date of a file and format it correctly
定義:
インタフェース SsiCommand 内の getStream
パラメータ:
strParamType - The type of parameter
strParam - The value of the parameter
戻り値:
The date of the file

getDate

protected java.lang.String getDate(java.lang.String path)
Get the date of a file and format it correctly
パラメータ:
path - The path to the file
戻り値:
The Date to return

process

public final void process(java.lang.String[] strParamType,
                          java.lang.String[] strParam)
Not used since this SsiCommand return a stream, use getStream() instead.
定義:
インタフェース SsiCommand 内の process
パラメータ:
strParamType - a value of type 'String[]'
strParam - a value of type 'String[]'

isPrintable

public final boolean isPrintable()
Returns true this SsiCommand is always prnitable and should therefore be accsessed through getStream()
定義:
インタフェース SsiCommand 内の isPrintable
戻り値:
a value of type 'boolean'

isModified

public final boolean isModified()
Returns false, this SsiCommands is never buffered.
定義:
インタフェース SsiCommand 内の isModified
戻り値:
a value of type 'boolean'


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.