public class TraceHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
printDataGraph(commonj.sdo.DataGraph dataGraph)
Prints an
SDO data graph. |
static java.lang.String |
printDataObject(commonj.sdo.DataObject dataObject)
Prints an
SDO data object. |
static java.lang.String |
printLargeCollection(java.util.Collection collection)
This method will return a
String that represents the specified
collection. |
static java.lang.String |
printObjectArray(java.lang.Object[] aarrObjects)
Helper method to print out an array of objects.
|
static java.lang.String |
toString(java.util.Map map)
This method will return the string representation of the specified Map object.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String printDataObject(commonj.sdo.DataObject dataObject)
SDO
data object.dataObject
- The data object to printpublic static java.lang.String printDataGraph(commonj.sdo.DataGraph dataGraph)
SDO
data graph.dataGraph
- The data graph to print.public static final java.lang.String printObjectArray(java.lang.Object[] aarrObjects)
aarrObjects
- Array of objects to be printed for tracingpublic static final java.lang.String printLargeCollection(java.util.Collection collection)
String
that represents the specified
collection. This method assumes the collection is very large so it will only return
the string representation of the first 3 elements and indicates the length of the collection.collection
- The collection to convert to a string.public static java.lang.String toString(java.util.Map map)
map
- The map to convert to a string.