tcl.lang.cmd
Class RenameCmd

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

public class RenameCmd
extends Object
implements Command

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


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

Constructor Detail

RenameCmd

public RenameCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] objv)
             throws TclException
---------------------------------------------------------------------- Tcl_RenameObjCmd -> RenameCmd.cmdProc This procedure is invoked to process the "rename" Tcl command. See the user documentation for details on what it does. Results: A standard Tcl object result. Side effects: See the user documentation. ----------------------------------------------------------------------

Specified by:
cmdProc in interface Command
Parameters:
interp - The interpreter for setting the results and which contains the context
objv - the argument list for the command; objv[0[ is the command name itself
Throws:
TclException - on any errors


Copyright © 2015. All rights reserved.