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