tcl.pkg.tjc
Class JaclLoadTJCCmd

java.lang.Object
  extended by tcl.pkg.tjc.JaclLoadTJCCmd
All Implemented Interfaces:
Command

public class JaclLoadTJCCmd
extends Object
implements Command

This class implements a small helper function that is used to load the TJC package into Jacl without requiring that the Java package be loaded into Jacl.


Constructor Summary
JaclLoadTJCCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] objv)
          This method implements the functionality of the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaclLoadTJCCmd

public JaclLoadTJCCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] objv)
             throws TclException
Description copied from interface: Command
This method implements the functionality of the command. However, calling it directly in application code will bypass execution traces. Instead, commands should be called with WrappedCommand.invoke

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.