com.gargoylesoftware.base.trace
Class TraceUtil

java.lang.Object
  extended bycom.gargoylesoftware.base.trace.TraceUtil

public class TraceUtil
extends Object

A collection of utility methods dealing with tracing.

Version:
$Revision: 1.4 $
Author:
Mike Bowler

Method Summary
static void trace(TraceChannel channel, Collection collection)
          Dump a collection to the specified TraceChannel.
static void trace(TraceChannel channel, Map collection)
          Dump a map to the specified TraceChannel.
static void trace(TraceChannel channel, Object[] array)
          Dump an object array to the specified TraceChannel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

trace

public static void trace(TraceChannel channel,
                         Collection collection)
Dump a collection to the specified TraceChannel.

Parameters:
channel - The channel to write the information to.
collection - The data to write.

trace

public static void trace(TraceChannel channel,
                         Map collection)
Dump a map to the specified TraceChannel.

Parameters:
channel - The channel to write the information to.
collection - The data to write.

trace

public static void trace(TraceChannel channel,
                         Object[] array)
Dump an object array to the specified TraceChannel.

Parameters:
channel - The channel to write the information to.
array - The data to write.


Copyright © 1998-2005 Gargoyle Software Inc.. All Rights Reserved.