org.quilt.runner
Class Msg

java.lang.Object
  |
  +--org.quilt.runner.Msg

public class Msg
extends java.lang.Object

Debug message module.

Author:
Jim Dixon

Constructor Summary
Msg(java.lang.String base)
           
Msg(java.lang.String base, int width)
           
Msg(java.lang.String base, int width, char big)
           
Msg(java.lang.String base, int width, char big, char small)
           
 
Method Summary
 void banner(java.lang.String where)
           
 void bannerAnd(java.lang.String where, java.lang.String stuff)
           
 void bigBanner(java.lang.String where)
           
 boolean isTalking()
           
 void talk(boolean b)
          Turns output off or on.
 void trace(java.lang.String where)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Msg

public Msg(java.lang.String base)
Parameters:
base - Name of class or other module.

Msg

public Msg(java.lang.String base,
           int width)
Parameters:
base - Name of module.
width - Width in characters of banners (default = 60)

Msg

public Msg(java.lang.String base,
           int width,
           char big)
Parameters:
base - Name of module.
width - Width of banners.
big - Fill character in 'big' banners (default is =).

Msg

public Msg(java.lang.String base,
           int width,
           char big,
           char small)
Parameters:
base - Name of module.
width - Width of banners.
big - Fill character in 'big' banners.
small - Fill character in normal banners (default is -).
Method Detail

talk

public void talk(boolean b)
Turns output off or on.

Parameters:
b - If true, there will be output; if false, not.

trace

public void trace(java.lang.String where)

banner

public void banner(java.lang.String where)

bannerAnd

public void bannerAnd(java.lang.String where,
                      java.lang.String stuff)

bigBanner

public void bigBanner(java.lang.String where)

isTalking

public boolean isTalking()


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.