org.apache.qpid.util
Class PrettyPrintingUtils
java.lang.Object
org.apache.qpid.util.PrettyPrintingUtils
public class PrettyPrintingUtils
- extends Object
Contains pretty printing convenienve methods for producing formatted logging output, mostly for debugging purposes.
CRC Card
Responsibilities | Collaborations
|
---|
- Todo:
- Drop this. There are already array pretty printing methods it java.utils.Arrays.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrettyPrintingUtils
public PrettyPrintingUtils()
printArray
public static String printArray(int[] array)
- Pretty prints an array of ints as a string.
- Parameters:
array
- The array to pretty print.
- Returns:
- The pretty printed string.
printArray
public static String printArray(String[] array)
- Pretty prints an array of strings as a string.
- Parameters:
array
- The array to pretty print.
- Returns:
- The pretty printed string.
Licensed to the Apache Software Foundation