All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.hermetica.util3d.Streams
java.lang.Object
   |
   +----com.hermetica.util3d.Streams

  Summary

public class  Streams
     extends java.lang.Object
{
          // Constructors 1
     public Streams();

          // Methods 6
     public static PrintStream getProfileStream();
     public static PrintStream getTraceStream();
     public static void setProfileStream(PrintStream);
     public static void setTraceStream(PrintStream);
     public static void writeProfile(String);
     public static void writeTrace(String);

}

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.

Version:
$Id: Streams.java,v 1.2 1998/08/08 13:18:27 descarte Exp descarte $
Author:
Alligator Descartes   Constructors

· Streams

Summary  |  Top
   public Streams() 

Default constructor



  Methods

· writeTrace

Summary  |  Top
   public static void writeTrace(String traceOutput) 

Writes the specificed text to the trace stream

Parameter Description
traceOutput The trace data to write out



· writeProfile

Summary  |  Top
   public static void writeProfile(String profileOutput) 

Writes the specified text to the profile stream

Parameter Description
profileOutput The profile information to write out



· setTraceStream

Summary  |  Top
   public static void setTraceStream(PrintStream tStream) 

Sets the trace output stream

Parameter Description
tStream A PrintStream object to write trace information to



· getTraceStream

Summary  |  Top
   public static PrintStream getTraceStream() 

Returns the PrintStream to which trace information will be written to via writeTrace()



· setProfileStream

Summary  |  Top
   public static void setProfileStream(PrintStream pStream) 

Sets the profiling output stream

Parameter Description
pStream A PrintStream object to which profiling information will be written



· getProfileStream

Summary  |  Top
   public static PrintStream getProfileStream() 

Returns the current profiling stream



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7