|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hermetica.util3d.Streams
This class provides some global PrintStream objects that can be used to set global trace locations for tracing information, eg, from TraceGL[U] and from CriticalSection activity.
Constructor Summary | |
Streams()
|
Method Summary | |
static java.io.PrintStream |
getProfileStream()
Returns the current profiling stream |
static java.io.PrintStream |
getTraceStream()
Returns the PrintStream to which trace information will be written to via writeTrace() |
static void |
setProfileStream(java.io.PrintStream pStream)
Sets the profiling output stream |
static void |
setTraceStream(java.io.PrintStream tStream)
Sets the trace output stream |
static void |
writeProfile(java.lang.String profileOutput)
Writes the specified text to the profile stream |
static void |
writeTrace(java.lang.String traceOutput)
Writes the specificed text to the trace stream |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Streams()
Method Detail |
public static void writeTrace(java.lang.String traceOutput)
traceOutput
- The trace data to write outpublic static void writeProfile(java.lang.String profileOutput)
profileOutput
- The profile information to write outpublic static void setTraceStream(java.io.PrintStream tStream)
tStream
- A PrintStream object to write trace information topublic static java.io.PrintStream getTraceStream()
public static void setProfileStream(java.io.PrintStream pStream)
pStream
- A PrintStream object to which profiling information will be writtenpublic static java.io.PrintStream getProfileStream()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |