|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.idms.io.AbstractTraceOutput ca.idms.io.TraceWriter
public class TraceWriter
Encapsulates a PrintWriter in a TraceOutput implementation.
TraceOutput
Field Summary | |
---|---|
protected java.io.PrintWriter |
out
The underlying output writer. |
Fields inherited from class ca.idms.io.AbstractTraceOutput |
---|
identify, line, product |
Constructor Summary | |
---|---|
TraceWriter(java.io.PrintWriter os)
Creates a TraceWriter object on top of a PrintWriter. |
|
TraceWriter(java.io.PrintWriter os,
boolean id)
Creates a TraceStream object on top of a PrintWriter |
Method Summary | |
---|---|
void |
println(java.lang.String s)
Prints a line to the trace writer. |
Methods inherited from class ca.idms.io.AbstractTraceOutput |
---|
format, println |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.PrintWriter out
Constructor Detail |
---|
public TraceWriter(java.io.PrintWriter os)
os
- the output writerpublic TraceWriter(java.io.PrintWriter os, boolean id)
os
- the output writerid
- enables an identifying prefix in each line if trueMethod Detail |
---|
public void println(java.lang.String s)
s
- the string to print
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |