Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dinopolis.util.debug
Class Debug.PrintReaderWriter  view Debug.PrintReaderWriter download Debug.PrintReaderWriter.java

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.PrintWriter
          extended byorg.dinopolis.util.debug.Debug.PrintReaderWriter
Enclosing class:
Debug

class Debug.PrintReaderWriter
extends java.io.PrintWriter

this class is a workaround to let Throwable.printStackTrace(PrintWriter) write somewhere, where it can be reread line by line.


Field Summary
(package private)  char[] buf_
           
(package private)  int pos_
           
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
Debug.PrintReaderWriter(int len)
           
 
Method Summary
 void println(char[] input)
          This method prints an array of characters to the stream.
 java.lang.String readln()
           
 boolean ready()
           
 
Methods inherited from class java.io.PrintWriter
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buf_

char[] buf_

pos_

int pos_
Constructor Detail

Debug.PrintReaderWriter

public Debug.PrintReaderWriter(int len)
Method Detail

println

public void println(char[] input)
Description copied from class: java.io.PrintWriter
This method prints an array of characters to the stream. The actual value printed depends on the system default encoding. This method prints a line termination sequence after printing the value.


readln

public java.lang.String readln()

ready

public boolean ready()