JDeveloper SCM API

oracle.ide.scm.util
Interface SCMLogWriter


public interface SCMLogWriter

Log writer interface, through which SCM extensions should write messages for display within a registered log window.


Method Summary
 void close()
          Closes the log writer and releases any associated resources.
 java.io.PrintWriter getPrintWriter()
          Gets the print writer for writing directly to the log
 void write(java.lang.String message)
          Writes a string.
 void writeln()
          Terminate the current line by writing the line separator string.
 void writeln(java.lang.String message)
          Write a String and then terminate the line.
 

Method Detail

write

public void write(java.lang.String message)
Writes a string.
Parameters:
message - the String to be printed.

writeln

public void writeln()
Terminate the current line by writing the line separator string.

writeln

public void writeln(java.lang.String message)
Write a String and then terminate the line.
Parameters:
message - the String to be printed.

getPrintWriter

public java.io.PrintWriter getPrintWriter()
Gets the print writer for writing directly to the log
Returns:
a new logger PrintWriter.

close

public void close()
Closes the log writer and releases any associated resources.

Copyright © 2002 Oracle Corporation