org.jorion.balboa.links
Class Console

java.lang.Object
  extended by org.jorion.balboa.links.Console

public class Console
extends java.lang.Object

Starts the application in console mode.

Author:
Bernard Jorion, www.jorion.org

Constructor Summary
Console()
           
 
Method Summary
protected static IListener getListener()
           
static void main(java.lang.String[] args)
          One possible entry point for the application.
static void printInfo(java.io.PrintStream ps)
          Print help message on the given print stream.
static void printWarning(java.io.PrintStream ps)
          Print a small warning message about missing mandatory arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Console

public Console()
Method Detail

printInfo

public static void printInfo(java.io.PrintStream ps)
Print help message on the given print stream.

Parameters:
ps - The print stream.

printWarning

public static void printWarning(java.io.PrintStream ps)
Print a small warning message about missing mandatory arguments.

Parameters:
ps - The stream to write the information to.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
One possible entry point for the application.

Parameters:
args - The program arguments.
Throws:
java.lang.Exception

getListener

protected static IListener getListener()
Returns:
An instance of IListener.