|
||||||||||
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.TraceStream
public class TraceStream
Encapsulates a PrintStream in a TraceOutput implementation.
TraceOutput
Field Summary | |
---|---|
protected java.io.PrintStream |
out
The underlying output stream. |
Fields inherited from class ca.idms.io.AbstractTraceOutput |
---|
identify, line, product |
Constructor Summary | |
---|---|
TraceStream(java.io.PrintStream os)
Creates a TraceStream object on top of a PrintStream. |
|
TraceStream(java.io.PrintStream os,
boolean id)
Creates a TraceStream object on top of a PrintStream |
Method Summary | |
---|---|
void |
println(java.lang.String s)
Prints a line to the trace stream. |
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.PrintStream out
Constructor Detail |
---|
public TraceStream(java.io.PrintStream os)
os
- the output streampublic TraceStream(java.io.PrintStream os, boolean id)
os
- the output streamid
- 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 |