    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.ssi.commands.FSizeCommand

    java.lang.Object
       |
       +----org.w3c.jigsaw.ssi.commands.BasicCommand
               |
               +----org.w3c.jigsaw.ssi.commands.FSizeCommand

public class FSizeCommand
extends BasicCommand

Implementation of the SSI `fsize` command. It inserts the size of the unparsed file in the document, according to the current value of the variable `sizefmt`.

##

FSizeCommand()

##

execute(SSIFrame, Request, ArrayDictionary, Dictionary)
  Executes this command.
getName()
  Returns the name of this command.
getValue(Dictionary, String)
  Returns the (String) value of the given variable.

##

FSizeCommand

     public FSizeCommand()

##

execute

     public Reply execute(SSIFrame ssiframe,
                          Request request,
                          ArrayDictionary parameters,
                          Dictionary variables)

  Executes this command.

  Overrides:
    execute in class BasicCommand

getName

     public String getName()

  Returns the name of this command.

  Overrides:
    getName in class BasicCommand

getValue

     public String getValue(Dictionary variables,
                            String variable)

  Returns the (String) value of the given variable.

  Overrides:
    getValue in class BasicCommand

    All Packages  Class Hierarchy  This Package  Previous  Next  Index