de.upb.swt.epctools.tools
Class Output

java.lang.Object
  extended by de.upb.swt.epctools.tools.Output

public class Output
extends java.lang.Object

This is a small static class with text output functions.


Field Summary
static boolean DEBUG
           
 
Constructor Summary
Output()
           
 
Method Summary
static void printAbout(java.lang.String msg)
          Prints a message in an info dialog box.
static void printDebug(java.lang.String s)
          Prints a line of text to System.out if in debug mode.
static void printError(java.lang.String s)
          Prints a line of text and quit.
static void printLine(java.lang.String s)
          Prints a line of text to System.out.
static void printMessage(java.lang.String msg)
          Prints a message in an info dialog box.
static boolean printQuestion(java.lang.String msg)
          Prints a message in an info dialog box.
static void printWarning(java.lang.String s)
          Prints a line of text as warning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

Output

public Output()
Method Detail

printLine

public static void printLine(java.lang.String s)
Prints a line of text to System.out.


printDebug

public static void printDebug(java.lang.String s)
Prints a line of text to System.out if in debug mode.


printError

public static void printError(java.lang.String s)
Prints a line of text and quit.


printWarning

public static void printWarning(java.lang.String s)
Prints a line of text as warning.


printMessage

public static void printMessage(java.lang.String msg)
Prints a message in an info dialog box.


printAbout

public static void printAbout(java.lang.String msg)
Prints a message in an info dialog box.


printQuestion

public static boolean printQuestion(java.lang.String msg)
Prints a message in an info dialog box.