be.hogent.tarsos
Class Tarsos

java.lang.Object
  extended by be.hogent.tarsos.Tarsos

public final class Tarsos
extends java.lang.Object

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.

Author:
Joren Six

Field Summary
static java.awt.Color[] COLORS
          Colors used by ptplot.
 
Method Summary
static void configureDirectories(java.util.logging.Logger log)
          Checks the configured directories and creates them if they are not present.
static boolean isMac()
           
static boolean isWindows()
           
static void main(java.lang.String... args)
          Starts Tarsos.
static void println(java.lang.String info)
          Prints info to a stream (console).
static void printSeparator()
           
static void printTarsosAsciiArt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLORS

public static final java.awt.Color[] COLORS
Colors used by ptplot.

Method Detail

configureDirectories

public static void configureDirectories(java.util.logging.Logger log)
Checks the configured directories and creates them if they are not present.

Parameters:
log - The logger to report to.

isMac

public static boolean isMac()

isWindows

public static boolean isWindows()

printTarsosAsciiArt

public static void printTarsosAsciiArt()

printSeparator

public static void printSeparator()

main

public static void main(java.lang.String... args)
Starts Tarsos. A command line application is started when command line arguments are present, otherwise the UI is used.

Parameters:
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
 

println

public static void println(java.lang.String info)
Prints info to a stream (console).

Parameters:
info - The information to print.