|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaitools.demo.jiffle.JiffleDemoHelper
public class JiffleDemoHelper
Helper class with for Jiffle demo applications.
| Constructor Summary | |
|---|---|
JiffleDemoHelper()
|
|
| Method Summary | |
|---|---|
static String |
getScript(ImageChoice choice)
Gets an example script. |
static File |
getScriptFile(String[] args,
ImageChoice defaultScript)
Gets a file specified in the command line args, or the default example image if no name is supplied. |
static String |
readScriptFile(File scriptFile)
Reads the contents of a script file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiffleDemoHelper()
| Method Detail |
|---|
public static String getScript(ImageChoice choice)
throws JiffleException
choice - specifies the example script
JiffleException - on errors getting the script file
public static File getScriptFile(String[] args,
ImageChoice defaultScript)
throws JiffleException
args - command lines args passed from an applicationdefaultScript - default example script
JiffleException - on problems getting the file
public static String readScriptFile(File scriptFile)
throws JiffleException
scriptFile - the file
JiffleException - on problems reading the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||