KickJava   Java API By Example, From Geeks To Geeks.

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


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: $
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 BeginCommand extends AbstractMessageCommand {
17     private String JavaDoc object;
18
19     public BeginCommand(MessageWriter writer, String JavaDoc object) {
20         super(writer);
21         this.object = object;
22     }
23
24     public void execute() {
25         getWriter().startGeneration(object);
26     }
27 }
28
Popular Tags