public final class SSIFsize extends java.lang.Object implements SSICommand
Constructor and Description |
---|
SSIFsize() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
formatSize(long size,
java.lang.String format) |
java.lang.String |
padLeft(java.lang.String str,
int maxChars) |
long |
process(SSIMediator ssiMediator,
java.lang.String commandName,
java.lang.String[] paramNames,
java.lang.String[] paramValues,
java.io.PrintWriter writer)
Write the output of the command to the writer.
|
java.lang.String |
repeat(char aChar,
int numChars) |
public long process(SSIMediator ssiMediator, java.lang.String commandName, java.lang.String[] paramNames, java.lang.String[] paramValues, java.io.PrintWriter writer)
SSICommand
process
in interface SSICommand
ssiMediator
- the ssi mediatorcommandName
- the name of the actual command ( ie. echo )paramNames
- The parameter namesparamValues
- The parameter valueswriter
- the writer to output toSSICommand
public java.lang.String repeat(char aChar, int numChars)
public java.lang.String padLeft(java.lang.String str, int maxChars)
protected java.lang.String formatSize(long size, java.lang.String format)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.