SMILA 1.0 API documentation

org.eclipse.smila.utils.scriptexecution
Class WindowsScriptExecutor

java.lang.Object
  extended by org.eclipse.smila.utils.scriptexecution.WindowsScriptExecutor
All Implemented Interfaces:
ScriptExecutor

public class WindowsScriptExecutor
extends java.lang.Object
implements ScriptExecutor

Executes script on windows platform.


Constructor Summary
WindowsScriptExecutor()
           
 
Method Summary
 int execute(java.io.File file)
          Executes script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsScriptExecutor

public WindowsScriptExecutor()
Method Detail

execute

public int execute(java.io.File file)
            throws java.io.IOException,
                   java.lang.InterruptedException
Executes script.

Specified by:
execute in interface ScriptExecutor
Parameters:
file - script file
Returns:
result code
Throws:
java.io.IOException - IOException
java.lang.InterruptedException - InterruptedException

SMILA 1.0 API documentation