Package com.sun.ts.lib.util
Class SigLogAdapter
java.lang.Object
com.sun.ts.lib.util.SigLogAdapter
- All Implemented Interfaces:
SigLogIntf
This class acts as an adapter between the logging API used in the API check utility and the logginf API available in
the CTS harness. The API check utility uses a PrintWriter to log messages. The parts of the PrintWriter API used by
the API check utility will be translated to TestUtil calls in this class. The SigLogIntf will capture the parts of
the PrintWriter API that need to be reimplemented so API check can fit into the CTS test framework.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SigLogAdapter
public SigLogAdapter()
-
-
Method Details
-
println
- Specified by:
printlnin interfaceSigLogIntf
-
println
- Specified by:
printlnin interfaceSigLogIntf
-
println
public void println(char c) - Specified by:
printlnin interfaceSigLogIntf
-
println
public void println()- Specified by:
printlnin interfaceSigLogIntf
-
print
- Specified by:
printin interfaceSigLogIntf
-
print
- Specified by:
printin interfaceSigLogIntf
-
print
public void print(char c) - Specified by:
printin interfaceSigLogIntf
-
flush
public void flush()- Specified by:
flushin interfaceSigLogIntf
-
close
public void close()- Specified by:
closein interfaceSigLogIntf
-