net.sourceforge.helpgui.util
Class Out

java.lang.Object
  extended by net.sourceforge.helpgui.util.Out

public class Out
extends java.lang.Object

Class aible to write a simple message on the console

Author:
Alexandre THOMAS

Field Summary
private static java.lang.String[] _state
           
static int FAILED
           
static int length
           
static int OK
           
 
Constructor Summary
Out()
           
 
Method Summary
private static java.lang.String addPoints(java.lang.String msg)
          Add '.' at the end of the message.
static void msg(java.lang.String msg)
          Write a message on the standar output and finish it by [ OK ].
static void msg(java.lang.String msg, int state)
          Write a message on the standar output and finish it by the specify state (OK, or FAILED).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static int OK

FAILED

public static int FAILED

_state

private static java.lang.String[] _state

length

public static int length
Constructor Detail

Out

public Out()
Method Detail

addPoints

private static java.lang.String addPoints(java.lang.String msg)
Add '.' at the end of the message.


msg

public static void msg(java.lang.String msg)
Write a message on the standar output and finish it by [ OK ].


msg

public static void msg(java.lang.String msg,
                       int state)
Write a message on the standar output and finish it by the specify state (OK, or FAILED).