frysk.util
Class StackPrintUtil

java.lang.Object
  extended by frysk.util.StackPrintUtil

public class StackPrintUtil
extends Object

Framework for printing stack backtraces; both providing a standard set of options, and a standard print behavior.


Constructor Summary
StackPrintUtil()
           
 
Method Summary
static OptionGroup options(PrintDebugInfoStackOptions options)
          Create, in a separate group, the standard set of stack-print options provided by utilities.
static void print(Task task, PrintDebugInfoStackOptions options, PrintWriter printWriter)
          Given a task, a writer, and the selected stack-print-options, produce a stack back-trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackPrintUtil

public StackPrintUtil()
Method Detail

options

public static OptionGroup options(PrintDebugInfoStackOptions options)
Create, in a separate group, the standard set of stack-print options provided by utilities.


print

public static void print(Task task,
                         PrintDebugInfoStackOptions options,
                         PrintWriter printWriter)
Given a task, a writer, and the selected stack-print-options, produce a stack back-trace.