KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > edu > neu > ccs > jmk > NoteOperator


1 // $Id: NoteOperator.java,v 1.1.1.1 2000/09/26 11:20:34 ramsdell Exp $
2

3 // The null operator used when printing notes.
4

5 /*
6  * Copyright 1997 by John D. Ramsdell
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */

22
23 package edu.neu.ccs.jmk;
24
25 /**
26  * The null operator used when printing notes.
27  * @version January 1998
28  * @author John D. Ramsdell
29  */

30 public final class NoteOperator
31 implements Operator
32 {
33   /**
34    * Get the name of an operator.
35    * @return the name for printing
36    */

37   public String JavaDoc getName() {
38     return "note";
39   }
40
41   /**
42    * This operation does nothing.
43    * @param args parameters to the operation
44    * @param out place to write messages
45    */

46   public void exec(String JavaDoc[] args, java.io.PrintWriter JavaDoc out) {
47   }
48 }
49
Popular Tags