com.izforge.izpack.compiler
Class Compiler.CmdlinePackagerListener

java.lang.Object
  extended by com.izforge.izpack.compiler.Compiler.CmdlinePackagerListener
All Implemented Interfaces:
PackagerListener
Enclosing class:
Compiler

static class Compiler.CmdlinePackagerListener
extends java.lang.Object
implements PackagerListener

Used to handle the packager messages in the command-line mode.

Author:
julien created October 26, 2002

Field Summary
 
Fields inherited from interface com.izforge.izpack.compiler.PackagerListener
MSG_DEBUG, MSG_ERR, MSG_INFO, MSG_VERBOSE, MSG_WARN
 
Constructor Summary
Compiler.CmdlinePackagerListener()
           
 
Method Summary
 void packagerMsg(java.lang.String info)
          Print a message to the console at default priority (MSG_INFO).
 void packagerMsg(java.lang.String info, int priority)
          Print a message to the console at the specified priority.
 void packagerStart()
          Called when the packager starts.
 void packagerStop()
          Called when the packager stops.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler.CmdlinePackagerListener

Compiler.CmdlinePackagerListener()
Method Detail

packagerMsg

public void packagerMsg(java.lang.String info)
Print a message to the console at default priority (MSG_INFO).

Specified by:
packagerMsg in interface PackagerListener
Parameters:
info - The information.

packagerMsg

public void packagerMsg(java.lang.String info,
                        int priority)
Print a message to the console at the specified priority.

Specified by:
packagerMsg in interface PackagerListener
Parameters:
info - The information.
priority - The priority of the message.

packagerStart

public void packagerStart()
Called when the packager starts.

Specified by:
packagerStart in interface PackagerListener

packagerStop

public void packagerStop()
Called when the packager stops.

Specified by:
packagerStop in interface PackagerListener