tcl.lang.cmd
Class FileCmd

java.lang.Object
  extended by tcl.lang.cmd.FileCmd
All Implemented Interfaces:
Command

public class FileCmd
extends Object
implements Command

This class implements the built-in "file" command in Tcl.


Constructor Summary
FileCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] argv)
          This procedure is invoked to process the "file" Tcl command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCmd

public FileCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] argv)
             throws TclException
This procedure is invoked to process the "file" Tcl command. See the user documentation for details on what it does.

Specified by:
cmdProc in interface Command
Parameters:
interp - The interpreter for setting the results and which contains the context
argv - the argument list for the command; objv[0[ is the command name itself
Throws:
TclException - on any errors
See Also:
Command.cmdProc(tcl.lang.Interp, tcl.lang.TclObject[])


Copyright © 2015. All rights reserved.