All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.cometway.jerminal.commands.rehash

com.cometway.jerminal.commands.JerminalCommand
   |
   +----com.cometway.jerminal.commands.rehash

public class rehash
extends JerminalCommand
This command clears the list of cached commands. Since jerminal commands are Objects and need to be instantiated in order to use them, the jerminal keeps a cache of the command Objects. The rehash command will clear that cache and the command Objects are recached when they are issued to the jerminal.

Synopsis:

rehash
This clears the entire cache.

rehash [command name]
This clears the cached command [command name] from the cache.

rehash [command name] [command Object]
This clears the cached command [command name] and recaches it using the command Object [command Object]. This command assumes that you are passing a JerminalCommand of the appropriate class, otherwise, problems may result.


Constructor Index

 o rehash(JerminalSession)

Method Index

 o evaluate(Vector)
This method is called by the JerminalSession when it uses this command.

Constructors

 o rehash
 public rehash(JerminalSession j)

Methods

 o evaluate
 public Object evaluate(Vector operands)
This method is called by the JerminalSession when it uses this command.

Overrides:
evaluate in class JerminalCommand

All Packages  Class Hierarchy  This Package  Previous  Next  Index