I am looking into using Jacl to call Tcl scripts.  I can call interp.eval()
and then interp.getResult() to get the return value, but the return value is
a TclObject.  What I would like to do is convert this TclObject result into
it's appropriate java object, so that if it's a reflected object, I would
get the java object, if it's a TclString, I would get java.lang.String, etc.

I found the convertTclObject() method in JavaInvoke which looks like what I
want, but the method is not public.  Is there a way I can do this or am I
missing something?

Thanks,
Paul Eng

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to