Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.console
Class BuildConsoleProxy

java.lang.Object
  extended by org.eclipse.mtj.core.console.BuildConsoleProxy
All Implemented Interfaces:
IBuildConsoleProxy

public class BuildConsoleProxy
extends Object
implements IBuildConsoleProxy

The proxied implementation of IBuildConsoleProxy.


Field Summary
static BuildConsoleProxy instance
           
 
Fields inherited from interface org.eclipse.mtj.core.console.IBuildConsoleProxy
ID_ERROR_STREAM, ID_OUTPUT_STREAM, ID_TRACE_STREAM
 
Method Summary
 void addConsoleStreamListener(String id, IStreamMonitor monitor)
          Add a new listener to the specified console stream.
 PrintWriter getConsoleWriter(String id)
          Return the PrintWriter for the console with the specified identifier.
 void setProxy(IBuildConsoleProxy proxy)
          Set the proxy being wrapped by this proxy.
 void trace(String text)
          Print the specified information to the log output stream.
 void traceln(String text)
          Print the specified information to the log output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final BuildConsoleProxy instance
Method Detail

addConsoleStreamListener

public void addConsoleStreamListener(String id,
                                     IStreamMonitor monitor)
Add a new listener to the specified console stream.

Parameters:
id -
monitor -

getConsoleWriter

public PrintWriter getConsoleWriter(String id)
Description copied from interface: IBuildConsoleProxy
Return the PrintWriter for the console with the specified identifier.

Specified by:
getConsoleWriter in interface IBuildConsoleProxy
Returns:
See Also:
IBuildConsoleProxy.getConsoleWriter(java.lang.String)

trace

public void trace(String text)
Print the specified information to the log output stream.

Parameters:
text -

traceln

public void traceln(String text)
Print the specified information to the log output stream.

Parameters:
text -

setProxy

public void setProxy(IBuildConsoleProxy proxy)
Set the proxy being wrapped by this proxy.

Parameters:
proxy -

Mobile Tools for Java
Release 1.0