Package org.apache.catalina.ssi
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 SummaryConstructors
- 
Method SummaryModifier 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- 
SSIFsizepublic SSIFsize()
 
- 
- 
Method Details- 
processpublic 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 interface- SSICommand
- Parameters:
- ssiMediator- the ssi mediator
- commandName- the name of the actual command ( ie. echo )
- paramNames- The parameter names
- paramValues- The parameter values
- writer- the writer to output to
- Returns:
- the most current modified date resulting from any SSI commands
- See Also:
 
- 
repeat
- 
padLeft
- 
formatSize
 
-