public abstract class DemoBase
extends java.lang.Object
| Constructor and Description |
|---|
DemoBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
displayUsage()
Displays demo usage.
|
void |
exeDemo(java.lang.String[] args,
java.lang.String filename)
Executes the demo.
|
static void |
register(DemoBase demo)
Register a demo into the framework.
|
static void |
run(java.lang.String[] args)
Launches the demo specified by the first argument and pass the remaining arguments.
|
static void |
usage()
Displays the 'Usage :' description.
|
public static void register(DemoBase demo)
demo - public static void run(java.lang.String[] args)
throws java.lang.Exception
If no argument are specified display the 'Usage :' description.
args - java.lang.Exceptionpublic static void usage()
public void exeDemo(java.lang.String[] args,
java.lang.String filename)
throws java.lang.Exception
Here we simply display the libraries' versions
Extending classes should call super.exeDemo() to display the versions.
args - filename - Parameter options filename.java.lang.Exceptionpublic abstract void displayUsage()
Extending classes should call