Oxygen XML Editor 12.2 Author API

ro.sync.exml.workspace.api.process
Interface ProcessController


public interface ProcessController

The process controller. Can be used to start or stop it.


Method Summary
 void sendMessage(java.lang.String message)
          Send a message to the process.
 void start()
          Start the process.
 void stop()
          Stop the process, calls java.lang.Process.distroy()
 

Method Detail

start

void start()
Start the process. This method blocks until the process ends.


stop

void stop()
Stop the process, calls java.lang.Process.distroy()


sendMessage

void sendMessage(java.lang.String message)
                 throws java.lang.Exception
Send a message to the process. The message will be sent "UTF-8" encoded via the java.lang.Process.getOutputStream().

Parameters:
message - The message.
Throws:
java.lang.Exception - The exception

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.