databionics.runner
Class MatlabRunner

java.lang.Object
  extended by databionics.Application
      extended by databionics.runner.Runner
          extended by databionics.runner.MatlabRunner
All Implemented Interfaces:
java.lang.Runnable

public class MatlabRunner
extends Runner

Runs a script in Matlab.


Field Summary
protected static MatlabRunner app
          interface to log4j system
protected  java.lang.String[] args
          unparsed arguments
protected  java.io.BufferedReader errorReader
          error output of process
protected static org.apache.log4j.Logger log
          interface to log4j system
protected  java.io.BufferedReader processReader
          standard output of process
 
Fields inherited from class databionics.Application
banner, cmd, conf, done, env, exitCode, home, messages, msgfile, name, nf, options, project, standalone, thread, workdir
 
Constructor Summary
MatlabRunner()
          standard constructor.
 
Method Summary
static Runner getInstance()
          Returns the application instance
 void init(java.lang.String[] args)
          init
static void main(java.lang.String[] args)
          main method
 void run()
          run
 
Methods inherited from class databionics.runner.Runner
run
 
Methods inherited from class databionics.Application
exit, exitOnInterruption, getBanner, getColorGradient, getColorPath, getConfigPath, getExitCode, getHelpFile, getHome, getLibPath, getMessage, getName, getProject, getThread, getWorkDir, init, interrupt, interrupted, isDone, printHelp, printVersion, setProject, setStandAlone, setWorkDir, sleep, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
interface to log4j system


app

protected static MatlabRunner app
interface to log4j system


processReader

protected java.io.BufferedReader processReader
standard output of process


errorReader

protected java.io.BufferedReader errorReader
error output of process


args

protected java.lang.String[] args
unparsed arguments

Constructor Detail

MatlabRunner

public MatlabRunner()
standard constructor.

Method Detail

getInstance

public static Runner getInstance()
Returns the application instance

Returns:
application

init

public void init(java.lang.String[] args)
init

Overrides:
init in class Runner

run

public void run()
run

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class Runner

main

public static void main(java.lang.String[] args)
main method



Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.