org.jorion.balboa.lookup
Class Console

java.lang.Object
  extended by org.jorion.balboa.lookup.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)
          Entry point.
static void printInfo(java.io.PrintStream ps)
          Print information specific to this entry point.
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 information specific to this entry point.

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

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
Entry point.

Parameters:
args - The starting arguments.
Throws:
java.lang.Exception - If any exception occurs.

getListener

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