01: /*
02: * TclUtil.java
03: *
04: * Brazil project web application Framework,
05: * export version: 1.1
06: * Copyright (c) 2000 Sun Microsystems, Inc.
07: *
08: * Sun Public License Notice
09: *
10: * The contents of this file are subject to the Sun Public License Version
11: * 1.0 (the "License"). You may not use this file except in compliance with
12: * the License. A copy of the License is included as the file "license.terms",
13: * and also available at http://www.sun.com/
14: *
15: * The Original Code is from:
16: * Brazil project web application Framework release 1.1.
17: * The Initial Developer of the Original Code is: cstevens.
18: * Portions created by cstevens are Copyright (C) Sun Microsystems, Inc.
19: * All Rights Reserved.
20: *
21: * Contributor(s): cstevens.
22: *
23: * Version: 1.2
24: * Created by cstevens on 00/04/24
25: * Last modified by cstevens on 00/04/24 13:04:06
26: */
27:
28: package tcl.lang;
29:
30: /**
31: * The <code>TclUtil</code> class "corrects" oversights in the
32: * <code>tcl.lang</code> package by making public certain methods that
33: * were not public.
34: *
35: * @author Colin Stevens (colin.stevens@sun.com)
36: * @version 1.2, 00/04/24
37: */
38:
39: public class TclUtil {
40: private TclUtil() {
41: }
42:
43: public static void setVar(Interp i, String name, String value,
44: int flags) throws TclException {
45: i.setVar(name, value, flags);
46: }
47:
48: public static void setVar(Interp i, String name, TclObject value,
49: int flags) throws TclException {
50: i.setVar(name, value, flags);
51: }
52: }
|