org.hecl
Class PrintThing

java.lang.Object
  extended by org.hecl.PrintThing

public class PrintThing
extends java.lang.Object

The PrintThing class is a utility class used to print out Things. It is useful for debugging purposes.

Version:
1.0
Author:
David N. Welton

Constructor Summary
PrintThing()
           
 
Method Summary
static void printThing(Thing t)
          printThing prints out a Thing.
static void printThing(Thing t, int depth)
          The main printThing function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintThing

public PrintThing()
Method Detail

printThing

public static void printThing(Thing t)
                       throws HeclException
printThing prints out a Thing.

Parameters:
t - a Thing value
Throws:
HeclException - if an error occurs

printThing

public static void printThing(Thing t,
                              int depth)
                       throws HeclException
The main printThing function.

Parameters:
t - a Thing value
depth - an int value
Throws:
HeclException - if an error occurs