|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.hogent.tarsos.Tarsos
public final class Tarsos
This is the starting point of the Tarsos application suite. It's main task is to start other applications and to maintain state. Creating the needed directories, checking the runtime, configure logging... also passing, minimal parsing and checking arguments are tasks for this class.
Field Summary | |
---|---|
static java.awt.Color[] |
COLORS
Colors used by ptplot. |
Method Summary | |
---|---|
static Tarsos |
getInstance()
Thread safe singleton implementation. |
static boolean |
isMac()
|
static void |
main(java.lang.String... args)
Starts Tarsos. |
static void |
println(java.lang.String info)
Prints info to a stream (console). |
void |
registerApplication(java.lang.String name,
AbstractTarsosApp application)
Register a Tarsos application. |
void |
run(java.lang.String... arguments)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.Color[] COLORS
Method Detail |
---|
public void registerApplication(java.lang.String name, AbstractTarsosApp application)
name
- The name (parameter) of the Tarsos application. The parameter
is used in java -jar tarsos.jar application
.application
- The instance that represents the Tarsos application.public void run(java.lang.String... arguments)
arguments
- The arguments for the program.public static boolean isMac()
public static Tarsos getInstance()
public static void main(java.lang.String... args)
args
- The arguments consist of a subcommand and options for the
subcommand. E.g.
java -jar annotate --in blaat.wav java -jar annotate -bufferCount blaat.wav
public static void println(java.lang.String info)
info
- The information to print.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |