KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > tools > OPP > message > command > DebugCommand


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: DebugCommand.java,v 1.2 2003/11/07 21:34:22 per_nyfelt Exp $
8
package org.ozoneDB.tools.OPP.message.command;
9
10 import org.ozoneDB.tools.OPP.message.MessageWriter;
11
12 /**
13  *
14  * @author Joakim Ohlrogge
15  */

16 public class DebugCommand extends AbstractMessageCommand {
17     private String JavaDoc message;
18
19     public DebugCommand(MessageWriter writer, String JavaDoc message) {
20         super(writer);
21         this.message = message;
22     }
23
24     public void execute() {
25         getWriter().debug(message);
26     }
27 }
28
Popular Tags