|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ScriptRunner edu.jhu.ece.iacl.jist.pipeline.MipavScriptRunner
public class MipavScriptRunner
Overload MIPAV's script runner.
Constructor Summary | |
---|---|
MipavScriptRunner()
Instantiates a new mipav script runner. |
Method Summary | |
---|---|
static void |
runScript(java.lang.String scriptFile)
Parses and runs the commands contained within a given script file. |
boolean |
runScript(java.lang.String file,
java.util.Vector imageNameList,
java.util.Vector voiPathList)
Execute a script, using a set of images. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MipavScriptRunner()
Method Detail |
---|
public static final void runScript(java.lang.String scriptFile) throws ParserException
scriptFile
- The full path to the script file on disk which should be
parsed.
ParserException
- If a problem is encountered while parsing the script.public boolean runScript(java.lang.String file, java.util.Vector imageNameList, java.util.Vector voiPathList)
file
- The path to the script file we want to run.imageNameList
- The list of the names of images to use while executing the
script.voiPathList
- A list of VOI paths, in the order returned by
Parser.getImageVarsUsedInScript().
True
if execution of the script was successful,
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |