org.jikesrvm
Class PrintContainer
java.lang.Object
org.jikesrvm.PrintContainer
public final class PrintContainer
- extends Object
The subclasses of PrintContainer all implement the PrintLN
interface. They are used by our Throwable
to print stack
traces; it lets one use a single class to operate on PrintContainer.WithPrintWriter
and PrintStream
output streams and for the VM.sysWrite(org.jikesrvm.classloader.Atom)
output method.
We use it so we can print stack traces without having to provide
multiple versions of each method, one for each kind of output stream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readyPrinter
public static final PrintLN readyPrinter
PrintContainer
private PrintContainer()
- Can not be instantiated.
get
public static PrintLN get(PrintStream out)
get
public static PrintLN get(PrintWriter out)