All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.cometway.jerminal.commands.source

com.cometway.jerminal.commands.JerminalCommand
   |
   +----com.cometway.jerminal.commands.UnixFileCommand
           |
           +----com.cometway.jerminal.commands.source

public class source
extends UnixFileCommand
This command reads a file from the local file system and evaluates it line by line. The evaluated command is printed out by the source command before it is evaluated.

Synopsis:

source [source file]


Constructor Index

 o source(JerminalSession)

Method Index

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

Constructors

 o source
 public source(JerminalSession j) throws UnauthorizedAccessException

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