jaitools.demo.jiffle
Class DirectRuntimeDemo
java.lang.Object
jaitools.demo.jiffle.JiffleDemoBase
jaitools.demo.jiffle.DirectRuntimeDemo
public class DirectRuntimeDemo
- extends JiffleDemoBase
Demonstrates how to retrieve and use a runtime object from a compiled
Jiffle script.
- Since:
- 1.1
- Version:
- $Id: DirectRuntimeDemo.java 1592 2011-03-29 11:01:25Z michael.bedward $
- Author:
- Michael Bedward
|
Method Summary |
void |
compileAndRun(File scriptFile)
Compiles a script read from a file and submits it for execution. |
static void |
main(String[] args)
Run the demonstration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectRuntimeDemo
public DirectRuntimeDemo()
main
public static void main(String[] args)
throws Exception
- Run the demonstration. The optional
arg can be either
the path to a user-supplied script file or one of "chessboard",
"interference", "ripple" or "squircle".
- Parameters:
args - (optional) the script to run
- Throws:
Exception - on an error in the Jiffle compiler
compileAndRun
public void compileAndRun(File scriptFile)
throws Exception
- Compiles a script read from a file and submits it for execution.
- Parameters:
scriptFile - file containing the Jiffle script
- Throws:
Exception - on an error in the Jiffle compiler
Copyright © 2011. All Rights Reserved.