/***********************************************************************

GECCO, a platform for command and control gaming

Copyright (C) 2001 Karl Hasselström

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.

***********************************************************************/

package gecco.util;

import java.io.*;

/**
 *  Description of the Class
 *
 * @author     Karl Hasselström
 * @created    July 3, 2001
 */
public class NullWriter extends Writer {
    /**
     *  Constructor for the NullWriter object
     */
    public NullWriter() {
        super();
    }


    /**
     *  Description of the Method
     */
    public void close() {
        // Do nothing
    }


    /**
     *  Description of the Method
     */
    public void flush() {
        // Do nothing
    }


    /**
     *  Description of the Method
     *
     * @param  cbuf  Description of Parameter
     */
    public void write(char[] cbuf) {
        // Do nothing
    }


    /**
     *  Description of the Method
     *
     * @param  cbuf  Description of Parameter
     * @param  off   Description of Parameter
     * @param  len   Description of Parameter
     */
    public void write(char[] cbuf, int off, int len) {
        // Do nothing
    }


    /**
     *  Description of the Method
     *
     * @param  c  Description of Parameter
     */
    public void write(int c) {
        // Do nothing
    }


    /**
     *  Description of the Method
     *
     * @param  str  Description of Parameter
     */
    public void write(String str) {
        // Do nothing
    }


    /**
     *  Description of the Method
     *
     * @param  str  Description of Parameter
     * @param  off  Description of Parameter
     * @param  len  Description of Parameter
     */
    public void write(String str, int off, int len) {
        // Do nothing
    }
}
