Class SSIFsize
java.lang.Object
org.apache.catalina.ssi.SSIFsize
- All Implemented Interfaces:
SSICommand
Implements the Server-side #fsize command
- Author:
- Bip Thelin, Paul Speed, Dan Sandberg, David Becker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringformatSize(long size, String format) longprocess(SSIMediator ssiMediator, String commandName, String[] paramNames, String[] paramValues, PrintWriter writer) Write the output of the command to the writer.repeat(char aChar, int numChars)
-
Constructor Details
-
SSIFsize
public SSIFsize()
-
-
Method Details
-
process
public long process(SSIMediator ssiMediator, String commandName, String[] paramNames, String[] paramValues, PrintWriter writer) Description copied from interface:SSICommandWrite the output of the command to the writer.- Specified by:
processin interfaceSSICommand- Parameters:
ssiMediator- the ssi mediatorcommandName- the name of the actual command ( ie. echo )paramNames- The parameter namesparamValues- The parameter valueswriter- the writer to output to- Returns:
- the most current modified date resulting from any SSI commands
-
repeat
-
padLeft
-
formatSize
-